textiter: small optimization for find_by_log_attrs()
textiter: small optimization for find_by_log_attrs()

Use gtk_text_iter_set_line_offset (&tmp_iter, 0) instead of
gtk_text_iter_get_line(). The difference should not be big. In the first
case the line doesn't need to be traversed thanks to the offset 0. For
get_line(), the btree must be traversed.

A temporary iter is needed to not break the behavior. But the behavior
is quite strange, the function works directly on the iter passed as an
argument to the function, even if the function returns FALSE (not
found). So maybe a later commit will fix this strange behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=629129

jessevdk/gtk,ahodesuka/gtk,chergert/gtk,alexlarsson/gtk,Adamovskiy/gtk,Adamovskiy/gtk,chergert/gtk,Adamovskiy/gtk,Adamovskiy/gtk,alexlarsson/gtk,Lyude/gtk-,Lyude/gtk-,jigpu/gtk,ahodesuka/gtk,davidgumberg/gtk,jigpu/gtk,jigpu/gtk,jadahl/gtk,ahodesuka/gtk,grubersjoe/adwaita,alexlarsson/gtk,grubersjoe/adwaita,chergert/gtk,alexlarsson/gtk,davidgumberg/gtk,Lyude/gtk-,chergert/gtk,Lyude/gtk-,jadahl/gtk,jessevdk/gtk,Lyude/gtk-,jadahl/gtk,alexlarsson/gtk,Adamovskiy/gtk,Adamovskiy/gtk,jessevdk/gtk,alexlarsson/gtk,alexlarsson/gtk,ahodesuka/gtk,jessevdk/gtk,grubersjoe/adwaita,grubersjoe/adwaita,Adamovskiy/gtk,jigpu/gtk,jadahl/gtk,davidgumberg/gtk,jadahl/gtk,Lyude/gtk-,davidgumberg/gtk,ahodesuka/gtk,alexlarsson/gtk,chergert/gtk,grubersjoe/adwaita,Adamovskiy/gtk,jessevdk/gtk,grubersjoe/adwaita,chergert/gtk,Lyude/gtk-,davidgumberg/gtk,jessevdk/gtk,jigpu/gtk,jadahl/gtk,jadahl/gtk,davidgumberg/gtk,grubersjoe/adwaita,jigpu/gtk,davidgumberg/gtk,chergert/gtk,grubersjoe/adwaita,ahodesuka/gtk,Lyude/gtk-,chergert/gtk,davidgumberg/gtk,ahodesuka/gtk,jadahl/gtk,jigpu/gtk,jigpu/gtk,ahodesuka/gtk,jessevdk/gtk