[gnome-color-manager/gnome-3-2] Initialize error pointer for gdk_pixbuf_new_from_file_at_size properly
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager/gnome-3-2] Initialize error pointer for gdk_pixbuf_new_from_file_at_size properly
- Date: Mon, 3 Oct 2011 07:54:23 +0000 (UTC)
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]