From 1c99c72749c1865eb872c14cb410029f8ee4cb79 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Mon, 4 Sep 2017 20:30:25 +0200 Subject: [PATCH] [fix] changes gveriant type to s --- src/teleportapp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teleportapp.c b/src/teleportapp.c index fa1a115..5a22f0e 100644 --- a/src/teleportapp.c +++ b/src/teleportapp.c @@ -18,7 +18,7 @@ enum { static GActionEntry app_entries[] = { - { "save", test_callback, "*", NULL, NULL }, + { "save", test_callback, "s", NULL, NULL }, { "quit", test_callback, "s", NULL, NULL } }; @@ -50,7 +50,7 @@ void create_user_notification (const char *file_name, const int file_size, const g_notification_set_icon (notification, icon); g_notification_set_default_action(notification, ""); g_notification_add_button (notification, "Decline", "app.decline"); - g_notification_add_button_with_target (notification, "Save", "app.save", "*", target); + g_notification_add_button_with_target (notification, "Save", "app.save", "s", target); g_application_send_notification (application, NULL, notification); g_object_unref (icon); g_object_unref (notification);