Remove dead code and clean up ecore-x dependency 11/20111/3 tizen_3.0.m14.2_ivi tizen_3.0.m14.2_ivi_release
authorMikko Ylinen <mikko.ylinen@intel.com>
Mon, 28 Apr 2014 06:21:37 +0000 (09:21 +0300)
committerMikko Ylinen <mikko.ylinen@intel.com>
Mon, 28 Apr 2014 10:32:51 +0000 (13:32 +0300)
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 <mikko.ylinen@intel.com>
configure.ac
dialer/gui.c
messages/gui.c
packaging/lemolo.spec
tizen/answer_daemon.c

index 3f85ae8..0d059e4 100644 (file)
@@ -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
index b181804..25c7a90 100644 (file)
@@ -18,7 +18,6 @@
 #ifdef HAVE_UI_GADGET
 #include <ui-gadget.h>
 #endif
-#include <Ecore_X.h>
 #endif
 
 static Evas_Object *win = NULL;
index b92f108..78fbb6f 100644 (file)
@@ -15,7 +15,6 @@
 #ifdef HAVE_UI_GADGET
 #include <ui-gadget.h>
 #endif
-#include <Ecore_X.h>
 #endif
 
 static Evas_Object *win = NULL;
index 5fdc3af..ee9dd36 100644 (file)
@@ -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)
index 985ce2a..6801077 100644 (file)
 #include <E_DBus.h>
 
 #ifdef HAVE_TIZEN
-#include <Ecore_X.h>
 #include <vconf.h>
 #include <vconf-keys.h>
-#if 0
-#include <utilX.h>
-#endif
 #include <power.h>
 #include <aul.h>
 #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)