[libnotify] notify_notification_set_image_from_pixbuf: ref the pixbuf (#633829)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] notify_notification_set_image_from_pixbuf: ref the pixbuf (#633829)
- Date: Tue, 2 Nov 2010 16:20:55 +0000 (UTC)
commit 49766bca28bb6fc57689f6061669bb44362d694d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Nov 2 17:02:37 2010 +0100
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]