gtktextlayout: fix to quiet a warning

Gcc complains about a possible use of a not initialised
widget ref ( which can't happen in reality )

https://bugzilla.gnome.org/show_bug.cgi?id=741702
This commit is contained in:
Sebastien Lafargue 2014-12-18 21:00:45 +01:00
parent 73c8f30928
commit ce8dc51861

View File

@ -1640,7 +1640,7 @@ add_child_attrs (GtkTextLayout *layout,
PangoRectangle logical_rect;
gint width, height;
GSList *tmp_list;
GtkWidget *widget;
GtkWidget *widget = NULL;
width = 1;
height = 1;