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:
Guido Günther
2021-07-28 16:45:26 +02:00
parent 37e5dfd3a2
commit 791218a5f5
5 changed files with 59 additions and 0 deletions

View File

@@ -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,