aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/messaging-menu-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmessaging-menu/messaging-menu-app.c')
-rw-r--r--libmessaging-menu/messaging-menu-app.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmessaging-menu/messaging-menu-app.c b/libmessaging-menu/messaging-menu-app.c
index a0180cb..c841db2 100644
--- a/libmessaging-menu/messaging-menu-app.c
+++ b/libmessaging-menu/messaging-menu-app.c
@@ -564,8 +564,11 @@ messaging_menu_app_activate_message (IndicatorMessagesApplication *app_interface
if (g_variant_n_children (params))
{
- GVariant *param = g_variant_get_child_value (params, 0);
+ GVariant *param;
+
+ g_variant_get_child (params, 0, "v", &param);
g_signal_emit_by_name (msg, signal, action_id, param);
+
g_variant_unref (param);
}
else