Fix build warning in no notifcation environment 33/65133/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 7 Apr 2016 10:29:42 +0000 (19:29 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 7 Apr 2016 10:32:00 +0000 (03:32 -0700)
isf_panel_efl.cpp:4241:21: warning: 'get_ise_count(scim::TOOLBAR_MODE_T, bool)' defined but not used [-Wunused-function]

Change-Id: Id01b00821bb399b52576d07d606e884061e09076

ism/extras/efl_panel/isf_panel_efl.cpp

index a93b544..94cb06e 100644 (file)
@@ -4238,6 +4238,7 @@ static void slot_set_candidate_style (int portrait_line, int mode)
     }
 }
 
+#if defined(HAVE_NOTIFICATION) || defined(HAVE_ECOREX)
 static unsigned int get_ise_count (TOOLBAR_MODE_T mode, bool valid_helper)
 {
     unsigned int ise_count = 0;
@@ -4252,6 +4253,7 @@ static unsigned int get_ise_count (TOOLBAR_MODE_T mode, bool valid_helper)
 
     return ise_count;
 }
+#endif
 
 /**
  * @brief Update keyboard ISE information slot function for PanelAgent.