[uim-commit] r138 - trunk/helper

makeinu@freedesktop.org makeinu@freedesktop.org
Thu Jan 6 02:55:32 PST 2005


Author: makeinu
Date: 2005-01-06 02:54:22 -0800 (Thu, 06 Jan 2005)
New Revision: 138

Modified:
   trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c
  - (add_custom_type_choice): Use custom->value instead of
    custom->default_value to set default value.
    Now UCustom_Choice seems work correctly.


Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c	2005-01-06 10:26:32 UTC (rev 137)
+++ trunk/helper/pref-gtk.c	2005-01-06 10:54:22 UTC (rev 138)
@@ -442,7 +442,7 @@
 			 OBJECT_DATA_UIM_CUSTOM, custom,
 			 (GDestroyNotify) uim_custom_free);
   
-  default_symbol = custom->default_value->as_choice->symbol;
+  default_symbol = custom->value->as_choice->symbol;
 
   for(i = 0, item = custom->range->as_choice.valid_items; *item; i++, item++) {
     gtk_combo_box_append_text(GTK_COMBO_BOX(combobox),



More information about the Uim-commit mailing list