diff options
-rwxr-xr-x | src/Daemon/BoxDaemonImpl.cpp | 18 | ||||
-rw-r--r-- | src/Daemon/BoxDaemonImpl.h | 1 |
2 files changed, 1 insertions, 18 deletions
diff --git a/src/Daemon/BoxDaemonImpl.cpp b/src/Daemon/BoxDaemonImpl.cpp index 1751293..e1300b9 100755 --- a/src/Daemon/BoxDaemonImpl.cpp +++ b/src/Daemon/BoxDaemonImpl.cpp @@ -51,9 +51,7 @@ BoxDaemonImpl::BoxDaemonImpl() if (vconf_notify_key_changed("db/setting/accessibility/font_name", requestChangeFontCallback, this) != true) { LogD("vconf_notify_key_changed returned FALSE!"); } - if ( vconf_notify_key_changed(VCONFKEY_SYSTEM_TIME_CHANGED, requestChangeTimeCallback, this) != true) { - LogD("vconf_notify_key_changed returned FALSE!"); - } + } BoxDaemonImpl::~BoxDaemonImpl() @@ -709,17 +707,3 @@ void BoxDaemonImpl::requestChangeFontCallback(keynode_t* key, void* data) free(fontstr); Ecore_Job* ret = ecore_job_add(requestBoxJobCallback, jobInfo); } - -void BoxDaemonImpl::requestChangeTimeCallback(keynode_t* key, void* data) -{ - LogD("enter"); - - char* strTime = vconf_get_str(VCONFKEY_SYSTEM_TIME_CHANGED); - - BoxDaemonImpl* This = static_cast<BoxDaemonImpl*>(data); - BoxInfoPtr info = BoxInfoPtr(new BoxInfo()); - JobInfo* jobInfo = new JobInfo(REQUEST_CMD_CHANGE_LANGUAGE, info, This); - - free(strTime); - Ecore_Job* ret = ecore_job_add(requestBoxJobCallback, jobInfo); -} diff --git a/src/Daemon/BoxDaemonImpl.h b/src/Daemon/BoxDaemonImpl.h index 1c29138..a8db76b 100644 --- a/src/Daemon/BoxDaemonImpl.h +++ b/src/Daemon/BoxDaemonImpl.h @@ -73,7 +73,6 @@ class BoxDaemonImpl { // callback for app-core event static int requestChangeLanguageCallback(void* data); static void requestChangeFontCallback(keynode_t* key, void* data); - static void requestChangeTimeCallback(keynode_t* key, void* data); // common private functions void setProviderCallbacks(ProviderCallbacks& callbacks); std::string getBoxType(const char* boxId); |