[gimp] app: fix last commit
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix last commit
- Date: Fri, 19 Apr 2019 15:24:08 +0000 (UTC)
commit f6d76ff34254f5ace70c5c814c21684bdc7dec0c
Author: Ell <ell_se yahoo com>
Date: Fri Apr 19 11:22:57 2019 -0400
app: fix last commit
app/tools/gimpcurvestool.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpcurvestool.c b/app/tools/gimpcurvestool.c
index 3b3b82b6c2..4c97582866 100644
--- a/app/tools/gimpcurvestool.c
+++ b/app/tools/gimpcurvestool.c
@@ -242,8 +242,6 @@ gimp_curves_tool_initialize (GimpTool *tool,
gimp_curve_view_set_range_y (GIMP_CURVE_VIEW (c_tool->graph),
0, c_tool->scale);
- gtk_spin_button_set_range (GTK_SPIN_BUTTON (c_tool->point_input),
- 0, c_tool->scale);
gtk_spin_button_set_range (GTK_SPIN_BUTTON (c_tool->point_output),
0, c_tool->scale);
@@ -615,7 +613,7 @@ gimp_curves_tool_dialog (GimpFilterTool *filter_tool)
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
- tool->point_input = gimp_spin_button_new (NULL, 1.0, 0);
+ tool->point_input = gimp_spin_button_new_with_range (0.0, 0.0, 1.0);
gtk_box_pack_start (GTK_BOX (hbox), tool->point_input, FALSE, FALSE, 0);
gtk_widget_show (tool->point_input);
@@ -629,7 +627,7 @@ gimp_curves_tool_dialog (GimpFilterTool *filter_tool)
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
- tool->point_output = gimp_spin_button_new (NULL, 1.0, 0);
+ tool->point_output = gimp_spin_button_new_with_range (0.0, 0.0, 1.0);
gtk_box_pack_start (GTK_BOX (hbox), tool->point_output, FALSE, FALSE, 0);
gtk_widget_show (tool->point_output);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]