From 1902548fb203b8ea66493ce62970283710230227 Mon Sep 17 00:00:00 2001 From: Fabio Mello Date: Thu, 23 Jan 2014 11:06:40 -0200 Subject: [PATCH] Make net-popup not dependent on ecore-x. Change-Id: I0a4780af9682bd5a0da0593f8bb8c493f4238c35 Signed-off-by: Leandro Dorileo --- src/net-popup.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/net-popup.c b/src/net-popup.c index ef3ac9a..d050344 100644 --- a/src/net-popup.c +++ b/src/net-popup.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -175,7 +174,6 @@ static int __net_popup_show_popup(bundle *b, void *data) Evas_Object *win; Evas_Object *popup; Evas_Object *button; - int w, h; const char* mode = bundle_get_val(b, "_SYSPOPUP_CONTENT_"); @@ -189,8 +187,6 @@ static int __net_popup_show_popup(bundle *b, void *data) win = elm_win_add(NULL, PACKAGE, ELM_WIN_BASIC); elm_win_alpha_set(win, EINA_TRUE); elm_win_borderless_set(win, EINA_TRUE); - ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h); - evas_object_resize(win, w, h); popup = elm_popup_add(win); evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); -- 2.7.4