diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2014-06-15 15:42:31 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-28 14:05:23 -0400 |
commit | 01098e34c188b4ec93944e14dbece6818d786aec (patch) | |
tree | 1f5f2bbce5e0a327e0f4c2de234fc5c501018ffe /gio/gnotification.h | |
parent | baef9d18116d55196f00847e0b96c317bab2238b (diff) | |
download | glib-01098e34c188b4ec93944e14dbece6818d786aec.tar.gz |
GNotification: add priority
https://bugzilla.gnome.org/show_bug.cgi?id=731623
Diffstat (limited to 'gio/gnotification.h')
-rw-r--r-- | gio/gnotification.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gio/gnotification.h b/gio/gnotification.h index 11226fede..07600b3b1 100644 --- a/gio/gnotification.h +++ b/gio/gnotification.h @@ -25,6 +25,7 @@ #endif #include <gio/giotypes.h> +#include <gio/gioenums.h> G_BEGIN_DECLS @@ -50,10 +51,14 @@ GLIB_AVAILABLE_IN_2_40 void g_notification_set_icon (GNotification *notification, GIcon *icon); -GLIB_AVAILABLE_IN_2_40 +GLIB_DEPRECATED_IN_2_42_FOR(g_notification_set_priority) void g_notification_set_urgent (GNotification *notification, gboolean urgent); +GLIB_AVAILABLE_IN_2_42 +void g_notification_set_priority (GNotification *notification, + GNotificationPriority priority); + GLIB_AVAILABLE_IN_2_40 void g_notification_add_button (GNotification *notification, const gchar *label, |