diff --git a/.gitignore b/.gitignore index 0853dd9..1d92523 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/libnotify-0.7.7.tar.xz -/libnotify-0.7.7.tar.xz +/libnotify-0.*.tar.xz diff --git a/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch b/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch new file mode 100644 index 0000000..0b677d9 --- /dev/null +++ b/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch @@ -0,0 +1,25 @@ +From 49766bca28bb6fc57689f6061669bb44362d694d Mon Sep 17 00:00:00 2001 +From: Guillaume Desmottes +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 +