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