Code

Zero page size for GTK spinbutton change
authorjoncruz <joncruz@users.sourceforge.net>
Sat, 14 Feb 2009 07:16:55 +0000 (07:16 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Sat, 14 Feb 2009 07:16:55 +0000 (07:16 +0000)
src/widgets/select-toolbar.cpp
src/widgets/toolbox.cpp

index 171fb00cfd2ae5c9623b359287c2af4d42200163..931ad4e2dcbdce311c9ca5ae560fa17d2bd78843 100644 (file)
@@ -263,7 +263,7 @@ static EgeAdjustmentAction * create_adjustment_action( gchar const *name,
                                                        gchar const *tooltip,
                                                        gboolean altx )
 {
-    GtkAdjustment* adj = GTK_ADJUSTMENT( gtk_adjustment_new( 0.0, lower, 1e6, SPIN_STEP, SPIN_PAGE_STEP, SPIN_PAGE_STEP ) );
+    GtkAdjustment* adj = GTK_ADJUSTMENT( gtk_adjustment_new( 0.0, lower, 1e6, SPIN_STEP, SPIN_PAGE_STEP, 0 ) );
     if (tracker) {
         tracker->addAdjustment(adj);
     }
index a2be7e2388fec3d3b426642c0b7768b639d08622..f7e1e9bc6b5c27ed67139667445bd46ec28acea5 100644 (file)
@@ -939,7 +939,7 @@ static EgeAdjustmentAction * create_adjustment_action( gchar const *name,
 {
     Inkscape::Preferences *prefs = Inkscape::Preferences::get();
     GtkAdjustment* adj = GTK_ADJUSTMENT( gtk_adjustment_new( prefs->getDouble(path, def) * factor,
-                                                             lower, upper, step, page, page ) );
+                                                             lower, upper, step, page, 0 ) );
     if (us) {
         sp_unit_selector_add_adjustment( SP_UNIT_SELECTOR(us), adj );
     }