mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +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;
|
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