From 783b89c3d7b9270781c2bd3e1196c1f49d0e3809 Mon Sep 17 00:00:00 2001 From: Marcin Lis Date: Mon, 7 Apr 2014 15:56:36 +0200 Subject: Update deprecated libprivilege-control API functions. Change-Id: I01dd99ac782a28900851f62d678adfa75a175437 Signed-off-by: Marcin Lis --- daemon/quickpanel-ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/quickpanel-ui.c b/daemon/quickpanel-ui.c index 721a561..afe997e 100755 --- a/daemon/quickpanel-ui.c +++ b/daemon/quickpanel-ui.c @@ -1039,9 +1039,9 @@ int main(int argc, char *argv[]) struct appdata ad; app_event_callback_s app_callback = {0,}; - r = control_privilege(); - if (r != 0) { - WARN("Failed to control privilege!"); + r = perm_app_set_privilege("org.tizen.quickpanel", NULL, NULL); + if (r != PC_OPERATION_SUCCESS) { + WARN("Failed to set privilege!"); } app_callback.create = quickpanel_app_create; -- cgit v1.2.3