mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 00:43:40 +02:00
GNotification: Allow to set a category
Some backends like the FDO one allow to set a category. This helps the notification daemon to select a proper feedback type.
This commit is contained in:
@@ -59,6 +59,10 @@ GLIB_AVAILABLE_IN_2_42
|
||||
void g_notification_set_priority (GNotification *notification,
|
||||
GNotificationPriority priority);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_70
|
||||
void g_notification_set_category (GNotification *notification,
|
||||
const gchar *category);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_40
|
||||
void g_notification_add_button (GNotification *notification,
|
||||
const gchar *label,
|
||||
|
Reference in New Issue
Block a user