Fix warning: Initialize to TRUE the returned variable

Also, fixing some indentation problems
This commit is contained in:
Javier Jardón 2009-10-30 19:11:28 +01:00
parent 550796d897
commit 141a7dac00

View File

@ -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. */