mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
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;
|
||||
gint width, height;
|
||||
GSList *tmp_list;
|
||||
GtkWidget *widget;
|
||||
GtkWidget *widget = NULL;
|
||||
|
||||
width = 1;
|
||||
height = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user