From 9a4f898c6f4ec32bea01373bb4cd5371620004c5 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 12 Feb 2007 16:27:07 +0000 Subject: [PATCH] fix 1658088 --- src/dialogs/clonetiler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dialogs/clonetiler.cpp b/src/dialogs/clonetiler.cpp index cffbf52e1..968794754 100644 --- a/src/dialogs/clonetiler.cpp +++ b/src/dialogs/clonetiler.cpp @@ -1045,8 +1045,8 @@ clonetiler_apply (GtkWidget *widget, void *) int ymax = prefs_get_int_attribute (prefs_path, "ymax", 2); int fillrect = prefs_get_int_attribute (prefs_path, "fillrect", 0); - double fillwidth = prefs_get_double_attribute_limited (prefs_path, "fillwidth", 50, 0, 6000); - double fillheight = prefs_get_double_attribute_limited (prefs_path, "fillheight", 50, 0, 6000); + double fillwidth = prefs_get_double_attribute_limited (prefs_path, "fillwidth", 50, 0, 1e6); + double fillheight = prefs_get_double_attribute_limited (prefs_path, "fillheight", 50, 0, 1e6); int dotrace = prefs_get_int_attribute (prefs_path, "dotrace", 0); int pick = prefs_get_int_attribute (prefs_path, "pick", 0); @@ -2520,7 +2520,7 @@ clonetiler_dialog (void) { // Width spinbutton - GtkObject *a = gtk_adjustment_new (0.0, -SP_DESKTOP_SCROLL_LIMIT, SP_DESKTOP_SCROLL_LIMIT, 1.0, 10.0, 10.0); + GtkObject *a = gtk_adjustment_new (0.0, -1e6, 1e6, 1.0, 10.0, 10.0); sp_unit_selector_add_adjustment (SP_UNIT_SELECTOR (u), GTK_ADJUSTMENT (a)); double value = prefs_get_double_attribute (prefs_path, "fillwidth", 50); @@ -2544,7 +2544,7 @@ clonetiler_dialog (void) { // Height spinbutton - GtkObject *a = gtk_adjustment_new (0.0, -SP_DESKTOP_SCROLL_LIMIT, SP_DESKTOP_SCROLL_LIMIT, 1.0, 10.0, 10.0); + GtkObject *a = gtk_adjustment_new (0.0, -1e6, 1e6, 1.0, 10.0, 10.0); sp_unit_selector_add_adjustment (SP_UNIT_SELECTOR (u), GTK_ADJUSTMENT (a)); double value = prefs_get_double_attribute (prefs_path, "fillheight", 50); -- 2.30.2