From 02df3e551ff5eec2e016f5e3bbf6c0b5e8ed4dba Mon Sep 17 00:00:00 2001 From: joncruz Date: Sat, 14 Feb 2009 07:16:55 +0000 Subject: [PATCH] Zero page size for GTK spinbutton change --- src/widgets/select-toolbar.cpp | 2 +- src/widgets/toolbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/select-toolbar.cpp b/src/widgets/select-toolbar.cpp index 171fb00cf..931ad4e2d 100644 --- a/src/widgets/select-toolbar.cpp +++ b/src/widgets/select-toolbar.cpp @@ -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); } diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index a2be7e238..f7e1e9bc6 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -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 ); } -- 2.30.2