From dfef1ebb63c2af41302e7a45ae599aa823cc02fa Mon Sep 17 00:00:00 2001 From: mike_m Date: Tue, 12 Jul 2011 06:10:54 +0000 Subject: [PATCH] ecore-imf: Fix build in no XIM case Fixes: ecore_imf_xim.c: In function 'ecore_imf_xim_shutdown': ecore_imf_xim.c:608:11: error: 'open_ims' undeclared (first use in this function) ecore_imf_xim.c:608:11: note: each undeclared identifier is reported only once for each function it appears Signed-off-by: Mike McCormack git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61266 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/immodules/xim/ecore_imf_xim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/immodules/xim/ecore_imf_xim.c b/src/modules/immodules/xim/ecore_imf_xim.c index 5b3b060..c74d201 100644 --- a/src/modules/immodules/xim/ecore_imf_xim.c +++ b/src/modules/immodules/xim/ecore_imf_xim.c @@ -605,12 +605,14 @@ ecore_imf_xim_init(void) { void ecore_imf_xim_shutdown(void) { +#ifdef ENABLE_XIM while (open_ims) { XIM_Im_Info *info = open_ims->data; Ecore_X_Display *display = ecore_x_display_get(); xim_info_display_closed(display, EINA_FALSE, info); } +#endif ecore_x_shutdown(); eina_shutdown(); -- 2.7.4