*landscape = m_landscape_size;
}
+#ifdef WAYLAND
static int language_changed_cb(void *event_info, void* data)
{
char clang[_POSIX_PATH_MAX] = {0};
}
}
-#ifdef WAYLAND
static void win_rotation_changed_cb(void *data, Evas_Object *obj, void *event)
{
int degree = elm_win_rotation_get(obj);
set_keyboard_size_hints(portrait, landscape);
#ifdef WAYLAND
+ appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, language_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);
+ accessibility_changed_cb(NULL, NULL);
+
evas_object_smart_callback_add(main_window, "wm,rotation,changed", win_rotation_changed_cb, NULL);
evas_object_show(main_window);
#else
}
}
- appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, language_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);
- accessibility_changed_cb(NULL, NULL);
-
signal(SIGQUIT, signal_handler);
signal(SIGTERM, signal_handler);
signal(SIGINT, signal_handler);
if (impl)
impl->fini();
- appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, NULL, NULL);
-
- vconf_ignore_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb);
-
#ifndef WAYLAND
if (XClientMsgHandler) {
ecore_event_handler_del(XClientMsgHandler);