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/engines.c | |
parent | 960df18a456f5171a2f5e052278df64d6c663989 (diff) | |
download | mate-notification-daemon-dccffbc0a11a130ead7fd7101d90a2d8c043bfec.tar.bz2 mate-notification-daemon-dccffbc0a11a130ead7fd7101d90a2d8c043bfec.tar.xz |
Use GVariant
Diffstat (limited to 'src/daemon/engines.c')
-rw-r--r-- | src/daemon/engines.c | 4 |
1 files changed, 2 insertions, 2 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"); |