remove unused vconf value 24/35124/1
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 9 Feb 2015 12:17:41 +0000 (21:17 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 9 Feb 2015 12:17:41 +0000 (21:17 +0900)
Change-Id: Ic774e7d1b5f88ea29051b9559ca3297714b84464
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
CMakeLists.txt
packaging/org.tizen.video-player-tv-ref.spec
src/timeout_handler.cpp
src/view_player.cpp

index b6d9520..0c7e619 100644 (file)
@@ -27,7 +27,6 @@ pkg_check_modules(PKGS REQUIRED
                evas
                utilX
                x11
-               vconf
                application-common
                mm-player
                capi-media-player
index f63d2b4..32389f1 100644 (file)
@@ -20,7 +20,6 @@ BuildRequires: pkgconfig(capi-content-media-content)
 BuildRequires: pkgconfig(mm-player)
 BuildRequires: pkgconfig(utilX)
 BuildRequires: pkgconfig(x11)
-BuildRequires: pkgconfig(vconf)
 BuildRequires: pkgconfig(application-common)
 BuildRequires: gettext-devel
 BuildRequires: edje-bin
index 1112bfd..3d8305a 100644 (file)
 #include <Elementary.h>
 #include <Eina.h>
 #include <Ecore.h>
-#include <vconf.h>
 #include "timeout_handler.h"
 #include "dbg.h"
 
 #define NUM_EVENT_HANDLERS 7
-#define VCONF_CURSOR_VISIBILITY_KEY "memory/window_system/input/cursor_visible"
 
 struct timeout_handler {
        Eina_List *eventhandler_list;
@@ -35,7 +33,6 @@ struct timeout_handler {
        void *timeout_data;
 
        double timeout;
-       int cursor;
 };
 
 static Eina_Bool _timer_cb(void *data)
@@ -56,21 +53,12 @@ static Eina_Bool _timer_cb(void *data)
 static Eina_Bool _event_occured(void *data, int type, void *event)
 {
        struct timeout_handler *handle;
-       int visible;
 
        if (!data)
                return ECORE_CALLBACK_PASS_ON;
 
        handle = (timeout_handler *)data;
 
-       vconf_get_int(VCONF_CURSOR_VISIBILITY_KEY, &visible);
-       if (handle->cursor && !visible) {
-               handle->cursor = visible;
-               return ECORE_CALLBACK_PASS_ON;
-       }
-
-       handle->cursor = visible;
-
        if (type == ECORE_EVENT_KEY_UP ||
                        type == ECORE_EVENT_MOUSE_MOVE)
                handle->event_cb(handle->event_data, type, event);
index 0d97c56..38f04db 100644 (file)
@@ -663,7 +663,7 @@ void CPlayerView::Destroy(void)
 {
        ASSERT(m);
 
-       CBaseView::Destory();
+       CBaseView::Destroy();
 
        if (m->drawanim_timer)
                ecore_timer_del(m->drawanim_timer);