Replace deprecated security API with new one 99/31599/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Sat, 6 Dec 2014 14:40:47 +0000 (23:40 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Sat, 6 Dec 2014 14:40:47 +0000 (23:40 +0900)
Change-Id: Ibfdbe5f7b6d0386e4c32afa62aef3265f2a082f9

ism/demos/isf_demo_efl.cpp
ism/extras/efl_panel/isf_panel_efl.cpp
ism/src/isf_query_engines.cpp
ism/src/scim_helper_launcher.cpp
ism/src/scim_launcher.cpp

index fc2afef..b59634e 100644 (file)
@@ -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;
index 737f442..79c16a1 100644 (file)
@@ -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};
index 0093864..4e212a7 100644 (file)
@@ -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) {
index 226073b..7cf0bc6 100644 (file)
@@ -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);
 
index 4e50f91..19aafd0 100644 (file)
@@ -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;