[gthumb: 122/129] gtk utils: setting the GtkSpinButton climb rate correcly



commit cc00f26b077fa89da842fd7fdf1f0eba70dee4c1
Author: Stefano Pettini <spettini users sourceforge net>
Date:   Tue Apr 26 01:33:15 2011 +0100

    gtk utils: setting the GtkSpinButton climb rate correcly

 gthumb/gtk-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gtk-utils.c b/gthumb/gtk-utils.c
index a5e33a2..368e27d 100644
--- a/gthumb/gtk-utils.c
+++ b/gthumb/gtk-utils.c
@@ -1287,7 +1287,7 @@ gimp_scale_entry_new (GtkWidget *parent_box,
 				  step_increment, page_increment,
 				  0.0);
 
-	spinbutton = gtk_spin_button_new  (GTK_ADJUSTMENT (adj), 1.0, 0);
+	spinbutton = gtk_spin_button_new  (GTK_ADJUSTMENT (adj), page_increment, 0);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (spinbutton), digits);
 	gtk_entry_set_width_chars (GTK_ENTRY (spinbutton), 4);
 



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