From dccffbc0a11a130ead7fd7101d90a2d8c043bfec Mon Sep 17 00:00:00 2001 From: yetist Date: Tue, 8 May 2018 13:22:49 +0800 Subject: Use GVariant --- src/daemon/engines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/daemon/engines.c') 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"); -- cgit v1.2.1