[uim-commit] r724 - trunk/uim

tkng at freedesktop.org tkng at freedesktop.org
Fri Feb 25 11:07:33 PST 2005


Author: tkng
Date: 2005-02-25 11:07:29 -0800 (Fri, 25 Feb 2005)
New Revision: 724

Modified:
   trunk/uim/m17nlib.c
Log:
* uim/m17nlib.c: Removed unneed macro "#ifdef HAVE_M17NLIB".


Modified: trunk/uim/m17nlib.c
===================================================================
--- trunk/uim/m17nlib.c	2005-02-25 19:05:29 UTC (rev 723)
+++ trunk/uim/m17nlib.c	2005-02-25 19:07:29 UTC (rev 724)
@@ -32,7 +32,6 @@
 */
 
 #include "config.h"
-#ifdef HAVE_M17NLIB
 #include <stdlib.h>
 #include <string.h>
 #include <m17n.h>
@@ -202,15 +201,16 @@
 static void
 register_callbacks(void)
 {
+  /*
   mplist_add(minput_default_driver.callback_list, Minput_preedit_start, (void *)preedit_start_cb);
   mplist_add(minput_default_driver.callback_list, Minput_preedit_draw,  (void *)preedit_draw_cb);
   mplist_add(minput_default_driver.callback_list, Minput_preedit_done,  (void *)preedit_done_cb);
-  mplist_add(minput_default_driver.callback_list, Minput_status_start,  (void *)status_start_cb);
+    mplist_add(minput_default_driver.callback_list, Minput_status_start,  (void *)status_start_cb);
   mplist_add(minput_default_driver.callback_list, Minput_status_draw,   (void *)status_draw_cb);
   mplist_add(minput_default_driver.callback_list, Minput_status_done,   (void *)status_done_cb);
   mplist_add(minput_default_driver.callback_list, Minput_candidates_start, (void *)candidates_start_cb);
   mplist_add(minput_default_driver.callback_list, Minput_candidates_draw,  (void *)candidates_draw_cb);
-  mplist_add(minput_default_driver.callback_list, Minput_candidates_done,  (void *)candidates_done_cb);
+  mplist_add(minput_default_driver.callback_list, Minput_candidates_done,  (void *)candidates_done_cb);*/
 }
 
 static uim_lisp
@@ -242,7 +242,7 @@
       }
     }
   }
-  register_callbacks();
+  /*  register_callbacks();*/
   m17n_object_unref(imlist);
   converter = mconv_buffer_converter(utf8, NULL, 0);
   if (!converter) {
@@ -828,4 +828,3 @@
     free(ic_array);
   }
 }
-#endif /* HAVE_M17NLIB */



More information about the Uim-commit mailing list