[gnome-color-manager/gnome-3-2] Initialize error pointer for gdk_pixbuf_new_from_file_at_size properly



commit 82012315e2d23fb547727006055bcf2aee75ef18
Author: Michael Hamann <michael content-space de>
Date:   Mon Oct 3 00:49:55 2011 +0200

    Initialize error pointer for gdk_pixbuf_new_from_file_at_size properly
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gcm-calibrate-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index b8ef50a..cdf25ac 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -2072,7 +2072,7 @@ gcm_calib_image_changed_cb (GcmCalibrate *calibrate,
 {
 	gchar *path;
 	GdkPixbuf *pixbuf;
-	GError *error;
+	GError *error = NULL;
 
 	if (filename != NULL) {
 		path = g_build_filename (GCM_DATA, "icons", filename, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]