diff options
author | Sebastien Lafargue <slafargue@gnome.org> | 2014-12-18 21:00:45 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-01-10 21:23:24 -0500 |
commit | f42f12e77525e832c201f6f45789a22f351a81ba (patch) | |
tree | 1b10d6cd87da2c55ef5fb7deffe818b2c53ca35a | |
parent | 583a8dd1a716b25b7b5ec011a84777b8ec8c4912 (diff) | |
download | gtk+-f42f12e77525e832c201f6f45789a22f351a81ba.tar.gz |
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
-rw-r--r-- | gtk/gtktextlayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index 5019cf0b07..80207a665b 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -1622,7 +1622,7 @@ add_child_attrs (GtkTextLayout *layout, PangoRectangle logical_rect; gint width, height; GSList *tmp_list; - GtkWidget *widget; + GtkWidget *widget = NULL; width = 1; height = 1; |