diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-10-30 19:11:28 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2009-10-30 19:24:08 +0100 |
commit | 3585f7632059ee514b4d87cf5c2aa755847d917f (patch) | |
tree | 09c2c02f5088ee0200a78e5491d2949a2ed8e53a /gdk-pixbuf/io-qtif.c | |
parent | 2c8b797aa88e7517cb9d61683ec77e82345daaa5 (diff) | |
download | gdk-pixbuf-3585f7632059ee514b4d87cf5c2aa755847d917f.tar.gz |
Fix warning: Initialize to TRUE the returned variable
Also, fixing some indentation problems
Diffstat (limited to 'gdk-pixbuf/io-qtif.c')
-rw-r--r-- | gdk-pixbuf/io-qtif.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk-pixbuf/io-qtif.c b/gdk-pixbuf/io-qtif.c index 0b80fe0e6..a30b5c025 100644 --- a/gdk-pixbuf/io-qtif.c +++ b/gdk-pixbuf/io-qtif.c @@ -268,14 +268,14 @@ static gpointer gdk_pixbuf__qtif_image_begin_load (GdkPixbufModuleSizeFunc size_ context->prepare_func = prepare_func; context->update_func = update_func; - return context; + return context; } /* Incremental load clean up. */ static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error) { QTIFContext *context = (QTIFContext *)data; - gboolean ret; + gboolean ret = TRUE; if(context->loader != NULL) { @@ -288,7 +288,8 @@ static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error) } } g_free(context); - return ret; + + return ret; } /* Create a new GdkPixbufLoader and connect to its signals. */ |