From: Sungmin Kwak Date: Thu, 15 Jan 2015 01:35:03 +0000 (+0900) Subject: Remove unused Vconf key codes. X-Git-Tag: submit/tizen/20150611.051311~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F40883%2F1;p=platform%2Fcore%2Fuifw%2Flibscl-core.git Remove unused Vconf key codes. Change-Id: I2fa059cc4f1ac547804565c55d8e8d35b23a7b77 --- diff --git a/src/sclcoreui-efl.cpp b/src/sclcoreui-efl.cpp index 4a93596..f70d267 100755 --- a/src/sclcoreui-efl.cpp +++ b/src/sclcoreui-efl.cpp @@ -128,25 +128,6 @@ void language_changed_cb(keynode_t *key, void* data) } } -void theme_changed_cb(keynode_t *key, void* data) -{ - char clang[256] = {0}; - char *vconf_str = vconf_get_str(VCONFKEY_SETAPPL_WIDGET_THEME_STR); - if (vconf_str) { - snprintf(clang, sizeof(clang), "%s",extract_themename_from_theme_file_path(vconf_str)); - free(vconf_str); - } - LOGD("current theme is %s\n",clang); - - CSCLCoreImpl *impl = CSCLCoreImpl::get_instance(); - if (impl) { - ISCLCoreEventCallback *callback = impl->get_core_event_callback(); - if (callback) { - callback->on_set_theme_name(clang); - } - } -} - void accessibility_changed_cb(keynode_t *key, void* data) { int vconf_value = 0; @@ -317,12 +298,10 @@ void CSCLCoreUIEFL::run(const sclchar *display) ecore_x_icccm_name_class_set(elm_win_xwindow_get(main_window), "Virtual Keyboard", "ISF"); vconf_notify_key_changed(VCONFKEY_LANGSET, language_changed_cb, NULL); - vconf_notify_key_changed(VCONFKEY_SETAPPL_WIDGET_THEME_STR, theme_changed_cb, NULL); vconf_notify_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb, NULL); /* Should we call these callback functions here? */ language_changed_cb(NULL, NULL); - theme_changed_cb(NULL, NULL); accessibility_changed_cb(NULL, NULL); impl->init(display); @@ -340,7 +319,6 @@ void CSCLCoreUIEFL::run(const sclchar *display) impl->fini(); vconf_ignore_key_changed(VCONFKEY_LANGSET, language_changed_cb); - vconf_ignore_key_changed(VCONFKEY_SETAPPL_WIDGET_THEME_STR, theme_changed_cb); vconf_ignore_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb); if (XClientMsgHandler) {