summaryrefslogtreecommitdiff
path: root/libnotify/notification.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnotify/notification.c')
-rw-r--r--libnotify/notification.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libnotify/notification.c b/libnotify/notification.c
index 3478f90..6f20fbf 100644
--- a/libnotify/notification.c
+++ b/libnotify/notification.c
@@ -682,7 +682,9 @@ notify_notification_set_image_from_pixbuf (NotifyNotification *notification,
g_return_if_fail (pixbuf == NULL || GDK_IS_PIXBUF (pixbuf));
- if (_notify_check_spec_version(1, 1)) {
+ if (_notify_check_spec_version(1, 2)) {
+ hint_name = "image-data";
+ } else if (_notify_check_spec_version(1, 1)) {
hint_name = "image_data";
} else {
hint_name = "icon_data";