]> Pileus Git - ~andy/gtk/commitdiff
Silence a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Sat, 27 Aug 2011 05:25:39 +0000 (01:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 27 Aug 2011 05:25:39 +0000 (01:25 -0400)
gtk/gtkpango.c

index 6af3a8337c8d703e4e46ba56181ebbb2e65fd8fe..2181b7b40b7444b1c7dd46bb6eaa012c1a01bf87 100644 (file)
@@ -693,6 +693,7 @@ _gtk_pango_move_lines (PangoLayout *layout,
   text = pango_layout_get_text (layout);
   index = g_utf8_offset_to_pointer (text, offset) - text;
   lines = pango_layout_get_lines (layout);
+  line = NULL;
 
   num = 0;
   for (l = lines; l; l = l->next)