summaryrefslogtreecommitdiff
path: root/gtk/gtkiconfactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkiconfactory.c')
-rw-r--r--gtk/gtkiconfactory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c
index 843fee856a..bc43ec8642 100644
--- a/gtk/gtkiconfactory.c
+++ b/gtk/gtkiconfactory.c
@@ -1036,7 +1036,7 @@ find_and_prep_icon_source (GtkIconSet *icon_set,
if (source->pixbuf == NULL)
{
- GError *error;
+ GError *error = NULL;
g_assert (source->filename);
source->pixbuf = gdk_pixbuf_new_from_file (source->filename, &error);