forked from AuroraMiddleware/gtk
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:
parent
73c8f30928
commit
ce8dc51861
@ -1640,7 +1640,7 @@ add_child_attrs (GtkTextLayout *layout,
|
|||||||
PangoRectangle logical_rect;
|
PangoRectangle logical_rect;
|
||||||
gint width, height;
|
gint width, height;
|
||||||
GSList *tmp_list;
|
GSList *tmp_list;
|
||||||
GtkWidget *widget;
|
GtkWidget *widget = NULL;
|
||||||
|
|
||||||
width = 1;
|
width = 1;
|
||||||
height = 1;
|
height = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user