From 644794c05780375bad127d777c7ffe72e686f7bd Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Mon, 9 Feb 2015 21:17:41 +0900 Subject: [PATCH] remove unused vconf value Change-Id: Ic774e7d1b5f88ea29051b9559ca3297714b84464 Signed-off-by: Minkyu Kang --- CMakeLists.txt | 1 - packaging/org.tizen.video-player-tv-ref.spec | 1 - src/timeout_handler.cpp | 12 ------------ src/view_player.cpp | 2 +- 4 files changed, 1 insertion(+), 15 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6d9520..0c7e619 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,6 @@ pkg_check_modules(PKGS REQUIRED evas utilX x11 - vconf application-common mm-player capi-media-player diff --git a/packaging/org.tizen.video-player-tv-ref.spec b/packaging/org.tizen.video-player-tv-ref.spec index f63d2b4..32389f1 100644 --- a/packaging/org.tizen.video-player-tv-ref.spec +++ b/packaging/org.tizen.video-player-tv-ref.spec @@ -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 diff --git a/src/timeout_handler.cpp b/src/timeout_handler.cpp index 1112bfd..3d8305a 100644 --- a/src/timeout_handler.cpp +++ b/src/timeout_handler.cpp @@ -17,12 +17,10 @@ #include #include #include -#include #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); diff --git a/src/view_player.cpp b/src/view_player.cpp index 0d97c56..38f04db 100644 --- a/src/view_player.cpp +++ b/src/view_player.cpp @@ -663,7 +663,7 @@ void CPlayerView::Destroy(void) { ASSERT(m); - CBaseView::Destory(); + CBaseView::Destroy(); if (m->drawanim_timer) ecore_timer_del(m->drawanim_timer); -- 2.7.4