libnotify/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch
Petr Šabata 03d4cb7a57 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/libnotify#c0af14c5c17b5614def571259422ce1b4f526afe
2020-10-15 16:46:38 +02:00

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