From 31343dfa09001cd77337f84357751d2492811c34 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 8 Sep 2016 10:51:14 +0900 Subject: [PATCH] Fix build warning in wearable profile Change-Id: I9537564f1c2868d31580d55690f0137b1922ea88 Signed-off-by: Jihoon Kim --- ism/extras/efl_panel/isf_panel_efl.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index cf55a346..15e941c5 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -266,9 +266,9 @@ static void update_ise_locale (); #ifdef HAVE_NOTIFICATION static void delete_notification (NotificationData *noti_data); static void create_notification (NotificationData *noti_data); +static void show_ime_selector_notification (void); #endif static void set_language_and_locale (void); -static void show_ime_selector_notification (void); ///////////////////////////////////////////////////////////////////////////// // Declaration of internal variables. @@ -6525,9 +6525,9 @@ static void _bt_cb_hid_state_changed (int result, bool connected, const char *re } #endif +#if HAVE_NOTIFICATION static void show_ime_selector_notification () { -#ifdef HAVE_NOTIFICATION String ise_name; unsigned int idx = get_ise_index (_info_manager->get_current_helper_uuid ()); if (idx < _ime_info.size ()) @@ -6562,8 +6562,8 @@ static void show_ime_selector_notification () } else LOGW ("AppID with http://tizen.org/category/ime-selector category is not available\n"); -#endif } +#endif #if HAVE_ECOREX /** @@ -6623,7 +6623,9 @@ static Eina_Bool x_event_window_property_cb (void *data, int ev_type, void *even if (get_ise_count (TOOLBAR_HELPER_MODE, true) >= 2) { ecore_x_event_mask_set (efl_get_quickpanel_window (), ECORE_X_EVENT_MASK_WINDOW_PROPERTY); +#if HAVE_NOTIFICATION show_ime_selector_notification (); +#endif } } -- 2.34.1