From: Mikko Ylinen Date: Mon, 28 Apr 2014 06:21:37 +0000 (+0300) Subject: Remove dead code and clean up ecore-x dependency X-Git-Tag: tizen_3.0.m14.2_ivi_release^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d73c5d50328dffb0769f7627cdb8cb21ab2f01a;p=profile%2Fivi%2Flemolo.git Remove dead code and clean up ecore-x dependency ecore-x and libspl-utilx dependencies have been disabled for quite some time. Remove the dead code and clean up .spec requirement for ecore-x. Change-Id: I767edcf8cd066bfafa6cd13d2a07c464ce4905ee Signed-off-by: Mikko Ylinen --- diff --git a/configure.ac b/configure.ac index 3f85ae8..0d059e4 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +50,6 @@ AC_ARG_ENABLE([tizen], if test "$want_tizen" != "no"; then PKG_CHECK_MODULES([TIZEN], [ - ecore-x appcore-efl contacts-service2 vconf diff --git a/dialer/gui.c b/dialer/gui.c index b181804..25c7a90 100644 --- a/dialer/gui.c +++ b/dialer/gui.c @@ -18,7 +18,6 @@ #ifdef HAVE_UI_GADGET #include #endif -#include #endif static Evas_Object *win = NULL; diff --git a/messages/gui.c b/messages/gui.c index b92f108..78fbb6f 100644 --- a/messages/gui.c +++ b/messages/gui.c @@ -15,7 +15,6 @@ #ifdef HAVE_UI_GADGET #include #endif -#include #endif static Evas_Object *win = NULL; diff --git a/packaging/lemolo.spec b/packaging/lemolo.spec index 5fdc3af..ee9dd36 100644 --- a/packaging/lemolo.spec +++ b/packaging/lemolo.spec @@ -11,7 +11,6 @@ BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(edbus) BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(ofono) -BuildRequires: pkgconfig(ecore-x) BuildRequires: pkgconfig(appcore-efl) BuildRequires: pkgconfig(contacts-service2) BuildRequires: pkgconfig(vconf) diff --git a/tizen/answer_daemon.c b/tizen/answer_daemon.c index 985ce2a..6801077 100644 --- a/tizen/answer_daemon.c +++ b/tizen/answer_daemon.c @@ -10,12 +10,8 @@ #include #ifdef HAVE_TIZEN -#include #include #include -#if 0 -#include -#endif #include #include #endif @@ -48,23 +44,8 @@ typedef struct _Call_Screen { static void _set_notification_type(Evas_Object *win, Eina_Bool high) { -#if 0 - Ecore_X_Window xwin; - - xwin = elm_win_xwindow_get(win); - - if (high) { - ecore_x_netwm_window_type_set(xwin, - ECORE_X_WINDOW_TYPE_NOTIFICATION); - utilx_set_system_notification_level(ecore_x_display_get(), xwin, - UTILX_NOTIFICATION_LEVEL_HIGH); - power_wakeup(EINA_TRUE); - } else - ecore_x_netwm_window_type_set(xwin, ECORE_X_WINDOW_TYPE_NORMAL); -#else (void)win; (void)high; -#endif } static Eina_Bool _phone_locked(void)