Bug 795369 - crop tool not changing from landscape to portrait ...

... when using default aspect ratio

The call to
gimp_{crop,rectangle_select}_tool_update_option_defaults() when
starting the crop/rectangle-select tools seems to no longer be
necessary, while it overrides user modification to the default
ratio's landscape/portrait orinetation (which only really matters
for the crop tool, since the rectangle-select tools' default ratio
is 1:1).  Fix this by simply removing the call.
This commit is contained in:
Ell 2018-04-19 15:46:58 -04:00
parent 187f2b4453
commit ee7554678e
2 changed files with 0 additions and 4 deletions

View File

@ -406,8 +406,6 @@ gimp_crop_tool_start (GimpCropTool *crop_tool,
gimp_tool_rectangle_set_constraint (GIMP_TOOL_RECTANGLE (widget),
gimp_crop_tool_get_constraint (crop_tool));
gimp_crop_tool_update_option_defaults (crop_tool, TRUE);
g_signal_connect (widget, "changed",
G_CALLBACK (gimp_crop_tool_rectangle_changed),
crop_tool);

View File

@ -746,8 +746,6 @@ gimp_rectangle_select_tool_start (GimpRectangleSelectTool *rect_tool,
G_CALLBACK (gimp_rectangle_select_tool_auto_shrink),
rect_tool);
gimp_rectangle_select_tool_update_option_defaults (rect_tool, TRUE);
g_signal_connect (widget, "response",
G_CALLBACK (gimp_rectangle_select_tool_rectangle_response),
rect_tool);