summaryrefslogtreecommitdiff
path: root/libnotify/notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnotify/notification.h')
-rw-r--r--libnotify/notification.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libnotify/notification.h b/libnotify/notification.h
index 1f29f2e..b232b3b 100644
--- a/libnotify/notification.h
+++ b/libnotify/notification.h
@@ -132,11 +132,13 @@ void notify_notification_set_category (NotifyNotificatio
void notify_notification_set_urgency (NotifyNotification *notification,
NotifyUrgency urgency);
-void notify_notification_set_icon_from_pixbuf (NotifyNotification *notification,
- GdkPixbuf *icon);
void notify_notification_set_image_from_pixbuf (NotifyNotification *notification,
GdkPixbuf *pixbuf);
+#ifndef LIBNOTIFY_DISABLE_DEPRECATED
+void notify_notification_set_icon_from_pixbuf (NotifyNotification *notification,
+ GdkPixbuf *icon);
+
void notify_notification_set_hint_int32 (NotifyNotification *notification,
const char *key,
gint value);
@@ -160,6 +162,7 @@ void notify_notification_set_hint_byte_array (NotifyNotificatio
const char *key,
const guchar *value,
gsize len);
+#endif
void notify_notification_set_hint (NotifyNotification *notification,
const char *key,