gegl r2593 - in trunk: . bin



Author: mitch
Date: Fri Oct  3 12:16:20 2008
New Revision: 2593
URL: http://svn.gnome.org/viewvc/gegl?rev=2593&view=rev

Log:
2008-10-03  Michael Natterer  <mitch gimp org>

	* bin/gegl-node-editor.c (adjustment_from_param_spec): set the
	adjustment's page size to 0 and not to page_inc.



Modified:
   trunk/ChangeLog
   trunk/bin/gegl-node-editor.c

Modified: trunk/bin/gegl-node-editor.c
==============================================================================
--- trunk/bin/gegl-node-editor.c	(original)
+++ trunk/bin/gegl-node-editor.c	Fri Oct  3 12:16:20 2008
@@ -723,7 +723,7 @@
 static GtkAdjustment *
 adjustment_from_param_spec (GParamSpec *param_spec, gdouble value)
 {
-  gdouble   lower, upper, step_inc, page_inc, page_size;
+  gdouble   lower, upper, step_inc, page_inc;
   gdouble   intwidth;
 
   switch (param_spec->value_type)
@@ -753,10 +753,9 @@
       step_inc = 1;
 
   page_inc = 10 * step_inc;
-  page_size = page_inc;
 
   return (GtkAdjustment*) gtk_adjustment_new (value, lower, upper,
-                                              step_inc, page_inc, page_size);  
+                                              step_inc, page_inc, 0);
 }
 
 static GtkWidget *



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