[uim-commit] r521 - trunk/helper

makeinu at freedesktop.org makeinu at freedesktop.org
Fri Feb 4 17:44:46 PST 2005


Author: makeinu
Date: 2005-02-04 17:44:44 -0800 (Fri, 04 Feb 2005)
New Revision: 521

Modified:
   trunk/helper/pref-gtk-custom-widgets.c
Log:
* helper/pref-gtk-custom-widgets.c
  - (sync_value_int): bug fix.


Modified: trunk/helper/pref-gtk-custom-widgets.c
===================================================================
--- trunk/helper/pref-gtk-custom-widgets.c	2005-02-05 01:01:37 UTC (rev 520)
+++ trunk/helper/pref-gtk-custom-widgets.c	2005-02-05 01:44:44 UTC (rev 521)
@@ -204,7 +204,7 @@
   g_return_if_fail(custom && custom->type == UCustom_Int);
 
   gtk_widget_set_sensitive(GTK_WIDGET(spin), custom->is_active);
-  if (custom->range->as_int.min != (int) adj->lower &&
+  if (custom->range->as_int.min != (int) adj->lower ||
       custom->range->as_int.max != (int) adj->upper)
     gtk_spin_button_set_range(spin, custom->range->as_int.min, custom->range->as_int.max);
   if (custom->value->as_int != (int) gtk_spin_button_get_value(spin)) {



More information about the Uim-commit mailing list