[uim-commit] r436 - trunk/helper

kzk at freedesktop.org kzk at freedesktop.org
Mon Jan 31 11:25:24 PST 2005


Author: kzk
Date: 2005-01-31 11:25:05 -0800 (Mon, 31 Jan 2005)
New Revision: 436

Modified:
   trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c
  - (custom_combo_box_changed): fixed wrong condition


Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c	2005-01-31 19:06:42 UTC (rev 435)
+++ trunk/helper/pref-gtk.c	2005-01-31 19:25:05 UTC (rev 436)
@@ -558,7 +558,7 @@
   custom = g_object_get_data(G_OBJECT(combo_box), OBJECT_DATA_UIM_CUSTOM);
   g_return_if_fail(custom);
 
-  if (custom->type != UCustom_Choice) {
+  if (custom->type == UCustom_Choice) {
     gint i, num = gtk_combo_box_get_active(combo_box);
     struct uim_custom_choice *choice = NULL;
 



More information about the Uim-commit mailing list