fix for applying wayland (removing X)
[apps/home/settings.git] / src / setting.c
index 6b33d5c..6a35d3a 100755 (executable)
@@ -22,7 +22,6 @@
 #include <sound_manager.h>
 
 #include <appcore-common.h>
-#include <Ecore_X.h>
 #include <sensor.h>
 #include <aul.h>
 #include <app_preference.h>
@@ -203,9 +202,8 @@ static Evas_Object *setting_main_create_win(const char *name)
                evas_object_smart_callback_add(eo, "delete,request", setting_main_del_win, NULL);
                evas_object_smart_callback_add(eo, "profile,changed", profile_changed_cb, NULL);
                /*elm_win_conformant_set(eo, EINA_TRUE); */
-               ecore_x_window_size_get(ecore_x_window_root_first_get(),
-                                       &w, &h);
-               evas_object_resize(eo, w, h);
+               //ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
+               // evas_object_resize(eo, w, h);
        }
        LAUNCH_SETTING_OUT();
        return eo;
@@ -402,7 +400,7 @@ static void setting_other_vconf_change_cb(keynode_t *key, void *data)
                        evas_object_del(ad->sub_view[SETTING_TAB_VIEW_GENERAL]);
                        ad->sub_view[SETTING_TAB_VIEW_GENERAL] = NULL;
                }
-               setting_search_genlist_update(ad);
+               //setting_search_genlist_update(ad);
 #endif
 
        }  else if (!safeStrCmp(vconf_name, VCONFKEY_SETAPPL_ENHANCED_TOUCH)) {
@@ -635,7 +633,7 @@ static bool setting_main_app_create(void *data)
        appcore_measure_start();
 
        /*elm_config_preferred_engine_set("opengl_x11"); */
-       ug_create_cb(setting_ug_create_cb, NULL);
+       //ug_create_cb(setting_ug_create_cb, NULL);
 
 #ifdef TIZEN_BUILD_TARGET
        SETTING_TRACE_DEBUG(" ------------------------> TIZEN_BUILD_TARGET is ON");
@@ -775,7 +773,7 @@ static void setting_main_app_terminate(void *data)
        ug_destroy_all();
        ad->ug = NULL;
 
-       ug_create_cb(NULL , NULL);
+       //ug_create_cb(NULL , NULL);
 
        SETTING_TRACE_DEBUG("%s*** SETTING APPLICATION CLOSED ***%s", SETTING_FONT_BGREEN, SETTING_FONT_BLACK);
        DEREGISTER_VCONFS(ad->listened_list);