gimp r26743 - in trunk: . app/tools



Author: martinn
Date: Sun Aug 24 13:57:42 2008
New Revision: 26743
URL: http://svn.gnome.org/viewvc/gimp?rev=26743&view=rev

Log:
2008-08-24  Martin Nordholts  <martinn svn gnome org>

	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): Set
	page_size for the Ouput/Input Levels lower/upper adjustments to 0
	to adapt to new and more correct value clamping in GTK+.


Modified:
   trunk/ChangeLog
   trunk/app/tools/gimplevelstool.c

Modified: trunk/app/tools/gimplevelstool.c
==============================================================================
--- trunk/app/tools/gimplevelstool.c	(original)
+++ trunk/app/tools/gimplevelstool.c	Sun Aug 24 13:57:42 2008
@@ -494,7 +494,7 @@
 
   spinbutton = gimp_spin_button_new (&data,
                                      config->low_input[config->channel] * 255.0,
-                                     0, 255, 1, 10, 10, 0.5, 0);
+                                     0, 255, 1, 10, 0, 0.5, 0);
   gtk_box_pack_start (GTK_BOX (hbox2), spinbutton, FALSE, FALSE, 0);
   gtk_widget_show (spinbutton);
 
@@ -540,7 +540,7 @@
 
   spinbutton = gimp_spin_button_new (&data,
                                      config->high_input[config->channel] * 255.0,
-                                     0, 255, 1, 10, 10, 0.5, 0);
+                                     0, 255, 1, 10, 0, 0.5, 0);
   gtk_box_pack_start (GTK_BOX (hbox2), spinbutton, FALSE, FALSE, 0);
   gtk_widget_show (spinbutton);
 
@@ -601,7 +601,7 @@
   /*  low output spin  */
   spinbutton = gimp_spin_button_new (&data,
                                      config->low_output[config->channel] * 255.0,
-                                     0, 255, 1, 10, 10, 0.5, 0);
+                                     0, 255, 1, 10, 0, 0.5, 0);
   gtk_box_pack_start (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
   gtk_widget_show (spinbutton);
 
@@ -616,7 +616,7 @@
   /*  high output spin  */
   spinbutton = gimp_spin_button_new (&data,
                                      config->high_output[config->channel] * 255.0,
-                                     0, 255, 1, 10, 10, 0.5, 0);
+                                     0, 255, 1, 10, 0, 0.5, 0);
   gtk_box_pack_end (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
   gtk_widget_show (spinbutton);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]