diff options
author | JuWan Kim <juwan.kim@samsung.com> | 2015-03-09 17:39:01 +0900 |
---|---|---|
committer | JuWan Kim <juwan.kim@samsung.com> | 2015-03-09 17:40:05 +0900 |
commit | 23561d1e48bcc58ef5966b808be5a6b52818bde5 (patch) | |
tree | 143ab280330501f8efc0480db0e9acffce31b755 /src | |
parent | cf0f973d4dfe1b56f9769b7aaae011a7ce987263 (diff) | |
download | settings-23561d1e48bcc58ef5966b808be5a6b52818bde5.tar.gz settings-23561d1e48bcc58ef5966b808be5a6b52818bde5.tar.bz2 settings-23561d1e48bcc58ef5966b808be5a6b52818bde5.zip |
Remove X dependency (x11, utilX, ecore-x)submit/tizen/20150309.095351
Signed-off-by: JuWan Kim <juwan.kim@samsung.com>
Change-Id: I617a628d36783d2928ad3d0c7565fbcebcd28cc4
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 | ||||
-rw-r--r-- | src/view_maincatalog.cpp | 1 | ||||
-rw-r--r-- | src/view_need_pwd.cpp | 7 | ||||
-rw-r--r-- | src/view_pwd_popup.cpp | 7 | ||||
-rw-r--r-- | src/view_sublist.cpp | 4 | ||||
-rw-r--r-- | src/view_system_clock.cpp | 2 | ||||
-rw-r--r-- | src/view_uigadget.cpp | 1 |
7 files changed, 5 insertions, 19 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6cfe31c..031bea0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,8 +16,6 @@ #include <app.h> #include <Elementary.h> -#include <Ecore_X.h> -#include <utilX.h> #include <ui-gadget.h> #include "dbg.h" #include "def.h" diff --git a/src/view_maincatalog.cpp b/src/view_maincatalog.cpp index f1e1e58..42d58a6 100644 --- a/src/view_maincatalog.cpp +++ b/src/view_maincatalog.cpp @@ -14,7 +14,6 @@ * limitations under the License. */ -#include <utilX.h> #include <app.h> #include "dbg.h" diff --git a/src/view_need_pwd.cpp b/src/view_need_pwd.cpp index 88104c3..042f151 100644 --- a/src/view_need_pwd.cpp +++ b/src/view_need_pwd.cpp @@ -14,8 +14,6 @@ * limitations under the License. */ -#include <utilX.h> - #include "dbg.h" #include "def.h" #include "utils.h" @@ -605,9 +603,8 @@ static Evas_Object *_create(struct setting_mgr *mgr, elm_object_content_set(ctxpopup, base); - width = height = 0; - ecore_x_window_size_get(ecore_x_window_root_first_get(), - &width, &height); + width = WIN_WIDTH; + height = WIN_HEIGHT; xpos = (width - CTXPOPUP_WIDTH) / 2; ypos = (height - CTXPOPUP_HEIGHT) / 2; diff --git a/src/view_pwd_popup.cpp b/src/view_pwd_popup.cpp index 3ecbc5c..13a54b7 100644 --- a/src/view_pwd_popup.cpp +++ b/src/view_pwd_popup.cpp @@ -14,8 +14,6 @@ * limitations under the License. */ -#include <utilX.h> - #include "dbg.h" #include "def.h" #include "view_pwd_popup.h" @@ -769,9 +767,8 @@ static Evas_Object *_create(struct setting_mgr *mgr, elm_object_content_set(ctxpopup, base); - width = height = 0; - ecore_x_window_size_get(ecore_x_window_root_first_get(), - &width, &height); + width = WIN_WIDTH; + height = WIN_HEIGHT; xpos = (width - CTXPOPUP_WIDTH) / 2; ypos = (height - CTXPOPUP_HEIGHT) / 2; diff --git a/src/view_sublist.cpp b/src/view_sublist.cpp index 67fe5ed..39399e5 100644 --- a/src/view_sublist.cpp +++ b/src/view_sublist.cpp @@ -14,7 +14,6 @@ * limitations under the License. */ -#include <utilX.h> #include "dbg.h" #include "def.h" #include "stdbool.h" @@ -575,8 +574,7 @@ static int _draw_sublist(struct _sublist_data *data) return -1; } - ecore_x_window_size_get(ecore_x_window_root_first_get(), - NULL, &screen_h); + screen_h = WIN_HEIGHT; param = data->geometry_data; diff --git a/src/view_system_clock.cpp b/src/view_system_clock.cpp index bb313fb..eeb4cb5 100644 --- a/src/view_system_clock.cpp +++ b/src/view_system_clock.cpp @@ -14,8 +14,6 @@ * limitations under the License. */ -#include <utilX.h> - #include "dbg.h" #include "def.h" #include "stdbool.h" diff --git a/src/view_uigadget.cpp b/src/view_uigadget.cpp index adeca90..92c0a8c 100644 --- a/src/view_uigadget.cpp +++ b/src/view_uigadget.cpp @@ -15,7 +15,6 @@ */ #include <ui-gadget.h> -#include <Ecore_X.h> #include "view_uigadget.h" #include "dbg.h" #include "def.h" |