From 49158cc86d8103b9b5a9e93ec54462260505f0cb Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 6 Mar 2009 07:33:49 +0000 Subject: Zero page size, to accommodate stricter GTK+ API. Fixes bug #338196. (bzr r7429) --- src/widgets/stroke-style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widgets/stroke-style.cpp') diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp index b1678f266..bd0061796 100644 --- a/src/widgets/stroke-style.cpp +++ b/src/widgets/stroke-style.cpp @@ -1085,7 +1085,7 @@ sp_stroke_style_line_widget_new(void) // with it, the two remaining calls of stroke_average_width, allowing us to get rid of that // function in desktop-style. - a = new Gtk::Adjustment(1.0, 0.0, 1000.0, 0.1, 10.0, 10.0); + a = new Gtk::Adjustment(1.0, 0.0, 1000.0, 0.1, 10.0, 0.0); spw->set_data("width", a); sb = new Gtk::SpinButton(*a, 0.1, 3); tt->set_tip(*sb, _("Stroke width")); @@ -1155,7 +1155,7 @@ sp_stroke_style_line_widget_new(void) hb = spw_hbox(t, 3, 1, i); - a = new Gtk::Adjustment(4.0, 0.0, 100.0, 0.1, 10.0, 10.0); + a = new Gtk::Adjustment(4.0, 0.0, 100.0, 0.1, 10.0, 0.0); spw->set_data("miterlimit", a); sb = new Gtk::SpinButton(*a, 0.1, 2); -- cgit v1.2.3