Bill Nottingham 1277ea1
From 49766bca28bb6fc57689f6061669bb44362d694d Mon Sep 17 00:00:00 2001
Bill Nottingham 1277ea1
From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Bill Nottingham 1277ea1
Date: Tue, 2 Nov 2010 17:02:37 +0100
Bill Nottingham 1277ea1
Subject: [PATCH] notify_notification_set_image_from_pixbuf: ref the pixbuf (#633829)
Bill Nottingham 1277ea1
Bill Nottingham 1277ea1
---
Bill Nottingham 1277ea1
 libnotify/notification.c |    2 +-
Bill Nottingham 1277ea1
 1 files changed, 1 insertions(+), 1 deletions(-)
Bill Nottingham 1277ea1
Bill Nottingham 1277ea1
diff --git a/libnotify/notification.c b/libnotify/notification.c
Bill Nottingham 1277ea1
index 2d5ecd9..571eff6 100644
Bill Nottingham 1277ea1
--- a/libnotify/notification.c
Bill Nottingham 1277ea1
+++ b/libnotify/notification.c
Bill Nottingham 1277ea1
@@ -695,7 +695,7 @@ notify_notification_set_image_from_pixbuf (NotifyNotification *notification,
Bill Nottingham 1277ea1
                                                         image_len,
Bill Nottingham 1277ea1
                                                         TRUE,
Bill Nottingham 1277ea1
                                                         (GDestroyNotify) g_object_unref,
Bill Nottingham 1277ea1
-                                                        pixbuf));
Bill Nottingham 1277ea1
+                                                        g_object_ref (pixbuf)));
Bill Nottingham 1277ea1
         notify_notification_set_hint (notification, hint_name, value);
Bill Nottingham 1277ea1
 }
Bill Nottingham 1277ea1
 
Bill Nottingham 1277ea1
-- 
Bill Nottingham 1277ea1
1.7.1
Bill Nottingham 1277ea1