? draw-as-radio.patch
? extra.patch
? goback.patch
? gtk-noexpose-scroll.diff
? head-unchanged-gtk+-diff
? hmm
? hmm.patch
? instrument.patch
? mactreeplus.patch
? mbdraw.patch
? menu-redraw
? paintstack-3.diff
? paintstack.diff
? paintstack2.diff
? patches
? profiler.diff
? profiler.log
? signalspeedup
? simple_scroll.patch
? tooldiff
? whatelse
? demos/gtk-demo/geninclude.pl
? gdk/paintfix
? gdk/profiler.c
? gdk/profiler.h
? gdk/profiler.log
? gdk/timing.c
? gtk/asdf
? gtk/birnan
? gtk/bt
? gtk/calls
? gtk/core.14191
? gtk/gtknotebook.ac
? gtk/gtkstyle.mac.c
? gtk/gtkstyle.orig.c
? gtk/gtktooltips.broken.c
? gtk/profiler.log
? gtk/toolchange.patch
? tests/accels
? tests/core.2994
? tests/core.30967
? tests/testactions
? tests/testmerge
Index: gtk/gtkrange.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkrange.c,v
retrieving revision 1.92
diff -u -r1.92 gtkrange.c
--- gtk/gtkrange.c	3 Sep 2003 19:57:05 -0000	1.92
+++ gtk/gtkrange.c	19 Sep 2003 11:11:40 -0000
@@ -26,6 +26,7 @@
  */
 
 #include <stdio.h>
+#include <math.h>
 #include "gtkintl.h"
 #include "gtkmain.h"
 #include "gtkmarshalers.h"
@@ -1372,8 +1373,8 @@
       GtkAdjustment *adj = GTK_RANGE (range)->adjustment;
       gdouble increment = ((event->direction == GDK_SCROLL_UP ||
 			    event->direction == GDK_SCROLL_LEFT) ? 
-			   -adj->page_increment / 2: 
-			   adj->page_increment / 2);
+			   -pow (adj->page_size, 2.0 / 3.0) : 
+			   pow (adj->page_size, 2.0 / 3.0));
       
       if (range->inverted)
 	increment = -increment;
Index: gtk/gtkscrolledwindow.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkscrolledwindow.c,v
retrieving revision 1.67
diff -u -r1.67 gtkscrolledwindow.c
--- gtk/gtkscrolledwindow.c	28 Feb 2003 23:48:40 -0000	1.67
+++ gtk/gtkscrolledwindow.c	19 Sep 2003 11:11:42 -0000
@@ -24,6 +24,7 @@
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
  */
 
+#include <math.h>
 #include <gdk/gdkkeysyms.h>
 #include "gtkbindings.h"
 #include "gtkmarshalers.h"
@@ -1218,9 +1219,9 @@
       gdouble new_value;
 
       if (event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_LEFT)
-	new_value = adj->value - adj->page_increment / 2;
+	new_value = adj->value - pow (adj->page_size, 2.0 / 3.0);
       else
-	new_value = adj->value + adj->page_increment / 2;
+	new_value = adj->value + pow (adj->page_size, 2.0 / 3.0);
 
       new_value = CLAMP (new_value, adj->lower, adj->upper - adj->page_size);
       gtk_adjustment_set_value (adj, new_value);
