forked from enlightenment/efl
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 <mj.mccormack@samsung.com> SVN revision: 61266
This commit is contained in:
parent
02cf92bcc6
commit
b8c2bb3fe5
|
@ -605,12 +605,14 @@ ecore_imf_xim_init(void) {
|
||||||
|
|
||||||
void
|
void
|
||||||
ecore_imf_xim_shutdown(void) {
|
ecore_imf_xim_shutdown(void) {
|
||||||
|
#ifdef ENABLE_XIM
|
||||||
while (open_ims) {
|
while (open_ims) {
|
||||||
XIM_Im_Info *info = open_ims->data;
|
XIM_Im_Info *info = open_ims->data;
|
||||||
Ecore_X_Display *display = ecore_x_display_get();
|
Ecore_X_Display *display = ecore_x_display_get();
|
||||||
|
|
||||||
xim_info_display_closed(display, EINA_FALSE, info);
|
xim_info_display_closed(display, EINA_FALSE, info);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ecore_x_shutdown();
|
ecore_x_shutdown();
|
||||||
eina_shutdown();
|
eina_shutdown();
|
||||||
|
|
Loading…
Reference in New Issue