diff options
author | yetist <[email protected]> | 2018-05-08 13:22:49 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-06-06 17:41:02 +0200 |
commit | dccffbc0a11a130ead7fd7101d90a2d8c043bfec (patch) | |
tree | cf4cc2d8ef94f7759e9fcac5aa403a7577aa8acd /src/daemon | |
parent | 960df18a456f5171a2f5e052278df64d6c663989 (diff) | |
download | mate-notification-daemon-dccffbc0a11a130ead7fd7101d90a2d8c043bfec.tar.bz2 mate-notification-daemon-dccffbc0a11a130ead7fd7101d90a2d8c043bfec.tar.xz |
Use GVariant
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/engines.c | 4 | ||||
-rw-r--r-- | src/daemon/engines.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/engines.c b/src/daemon/engines.c index 6e841c2..dc71bf1 100644 --- a/src/daemon/engines.c +++ b/src/daemon/engines.c @@ -37,7 +37,7 @@ typedef struct { void (*destroy_notification) (GtkWindow* nw); void (*show_notification) (GtkWindow* nw); void (*hide_notification) (GtkWindow* nw); - void (*set_notification_hints) (GtkWindow* nw, GHashTable* hints); + void (*set_notification_hints) (GtkWindow* nw, GVariant *hints); void (*set_notification_text) (GtkWindow* nw, const char* summary, const char* body); void (*set_notification_icon) (GtkWindow* nw, GdkPixbuf* pixbuf); void (*set_notification_arrow) (GtkWindow* nw, gboolean visible, int x, int y); @@ -251,7 +251,7 @@ void theme_hide_notification(GtkWindow* nw) } } -void theme_set_notification_hints(GtkWindow* nw, GHashTable* hints) +void theme_set_notification_hints(GtkWindow* nw, GVariant *hints) { ThemeEngine* engine = g_object_get_data(G_OBJECT(nw), "_theme_engine"); diff --git a/src/daemon/engines.h b/src/daemon/engines.h index 10ea48e..be3c498 100644 --- a/src/daemon/engines.h +++ b/src/daemon/engines.h @@ -33,7 +33,7 @@ void theme_destroy_notification (GtkWindow *nw); void theme_show_notification (GtkWindow *nw); void theme_hide_notification (GtkWindow *nw); void theme_set_notification_hints (GtkWindow *nw, - GHashTable *hints); + GVariant *hints); void theme_set_notification_timeout (GtkWindow *nw, glong timeout); void theme_notification_tick (GtkWindow *nw, |