From c51cdc9516ae47a200b9803a6a9e92a07e059732 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 28 Jan 2016 16:01:06 +0900 Subject: [PATCH] Remove unused code Change-Id: Ibb10515d7b1dc561283ee01ac0c4628a08337765 --- ism/demos/isf_demo_efl.cpp | 14 +++++++++++++- ism/extras/efl_wsc/isf_wsc_context.cpp | 6 ------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ism/demos/isf_demo_efl.cpp b/ism/demos/isf_demo_efl.cpp index b2e76ff..94caaff 100644 --- a/ism/demos/isf_demo_efl.cpp +++ b/ism/demos/isf_demo_efl.cpp @@ -366,12 +366,24 @@ int main (int argc, char *argv[]) memset (&ad, 0x0, sizeof (struct appdata)); ops.data = &ad; - int ret = -1; + elm_init (argc, argv); + + app_create (&ad); + + elm_run (); + + int ret = 0; + /* try { ret = appcore_efl_main ("isf-demo-efl", &argc, &argv, &ops); } catch (...) { LOGW ("Exception is thrown from appcore_efl_main ()!!!\n"); } + */ + + app_exit (&ad); + + elm_shutdown (); return ret; } diff --git a/ism/extras/efl_wsc/isf_wsc_context.cpp b/ism/extras/efl_wsc/isf_wsc_context.cpp index 0227fcb..76abcea 100644 --- a/ism/extras/efl_wsc/isf_wsc_context.cpp +++ b/ism/extras/efl_wsc/isf_wsc_context.cpp @@ -343,12 +343,6 @@ get_panel_client_id (void) return _panel_client_id; } -Eina_Bool -get_desktop_mode () -{ - return desktop_mode; -} - void get_language (char **language) { -- 2.7.4