From 3821d69c780e5916cabfab9819259a365f5d128c Mon Sep 17 00:00:00 2001 From: Hyunho Kang Date: Fri, 10 Jun 2016 15:32:51 +0900 Subject: [PATCH] Modify service register for multi-user compatibility Change-Id: I9fd808e0dd3ed13e7bc8f213cfb1a6c78ee0f8ff Signed-off-by: Hyunho Kang --- lib/src/shortcut_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/shortcut_manager.c b/lib/src/shortcut_manager.c index df41d73..22a9c7f 100755 --- a/lib/src/shortcut_manager.c +++ b/lib/src/shortcut_manager.c @@ -287,7 +287,7 @@ static int _send_service_register() GDBusMessage *reply = NULL; int result; - result = _send_sync_shortcut(NULL, &reply, "shortcut_service_register"); + result = _send_sync_shortcut(g_variant_new("(i)", getuid()), &reply, "shortcut_service_register"); ErrPrint("_send_service_register done"); return result; } -- 2.7.4