From 8fe4766585daa0dffae474cc443791fb7514b6a3 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Sat, 6 Dec 2014 23:40:47 +0900 Subject: [PATCH] Replace deprecated security API with new one Change-Id: Ibfdbe5f7b6d0386e4c32afa62aef3265f2a082f9 --- ism/demos/isf_demo_efl.cpp | 2 +- ism/extras/efl_panel/isf_panel_efl.cpp | 2 +- ism/src/isf_query_engines.cpp | 2 +- ism/src/scim_helper_launcher.cpp | 2 +- ism/src/scim_launcher.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ism/demos/isf_demo_efl.cpp b/ism/demos/isf_demo_efl.cpp index fc2afef..b59634e 100644 --- a/ism/demos/isf_demo_efl.cpp +++ b/ism/demos/isf_demo_efl.cpp @@ -408,7 +408,7 @@ static int app_resume (void *data) int main (int argc, char *argv[]) { - set_app_privilege ("isf", NULL, NULL); + perm_app_set_privilege ("isf", NULL, NULL); struct appdata ad; struct appcore_ops ops; diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index 737f442..79c16a1 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -5904,7 +5904,7 @@ int main (int argc, char *argv []) Ecore_Event_Handler *xwindow_property_handler = NULL; Ecore_Event_Handler *xwindow_focus_out_handler = NULL; - set_app_privilege ("isf", NULL, NULL); + perm_app_set_privilege ("isf", NULL, NULL); check_time ("\nStarting ISF Panel EFL...... "); char buf[256] = {0}; diff --git a/ism/src/isf_query_engines.cpp b/ism/src/isf_query_engines.cpp index 0093864..4e212a7 100644 --- a/ism/src/isf_query_engines.cpp +++ b/ism/src/isf_query_engines.cpp @@ -59,7 +59,7 @@ int main (int argc, char *argv[]) int isetype = 0; int uninstall = 0; - set_app_privilege ("isf", NULL, NULL); + perm_app_set_privilege ("isf", NULL, NULL); int i = 1; while (i < argc) { diff --git a/ism/src/scim_helper_launcher.cpp b/ism/src/scim_helper_launcher.cpp index 226073b..7cf0bc6 100644 --- a/ism/src/scim_helper_launcher.cpp +++ b/ism/src/scim_helper_launcher.cpp @@ -173,7 +173,7 @@ int main (int argc, char *argv []) return -1; } - set_app_privilege ("isf", NULL, NULL); + perm_app_set_privilege ("isf", NULL, NULL); HelperModule helper_module (helper); diff --git a/ism/src/scim_launcher.cpp b/ism/src/scim_launcher.cpp index 4e50f91..19aafd0 100644 --- a/ism/src/scim_launcher.cpp +++ b/ism/src/scim_launcher.cpp @@ -100,7 +100,7 @@ int main (int argc, char *argv []) time (0), getpid (), getppid (), __FILE__, __func__); isf_save_log (buf); - set_app_privilege ("isf", NULL, NULL); + perm_app_set_privilege ("isf", NULL, NULL); while (i < argc) { if (++i >= argc) break; -- 2.7.4