app: don't redundantly set GimpToolControl->scroll_lock to FALSE
This commit is contained in:
@ -62,8 +62,7 @@
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
||||
#define EDIT_SELECT_SCROLL_LOCK FALSE
|
||||
#define ARROW_VELOCITY 25
|
||||
#define ARROW_VELOCITY 25
|
||||
|
||||
|
||||
typedef struct _GimpEditSelectionTool GimpEditSelectionTool;
|
||||
@ -150,7 +149,6 @@ gimp_edit_selection_tool_init (GimpEditSelectionTool *edit_selection_tool)
|
||||
{
|
||||
GimpTool *tool = GIMP_TOOL (edit_selection_tool);
|
||||
|
||||
gimp_tool_control_set_scroll_lock (tool->control, EDIT_SELECT_SCROLL_LOCK);
|
||||
gimp_tool_control_set_motion_mode (tool->control, GIMP_MOTION_MODE_COMPRESS);
|
||||
|
||||
edit_selection_tool->origx = 0;
|
||||
|
@ -233,7 +233,6 @@ gimp_free_select_tool_init (GimpFreeSelectTool *fst)
|
||||
GimpTool *tool = GIMP_TOOL (fst);
|
||||
GimpFreeSelectToolPrivate *priv = GET_PRIVATE (fst);
|
||||
|
||||
gimp_tool_control_set_scroll_lock (tool->control, FALSE);
|
||||
gimp_tool_control_set_wants_click (tool->control, TRUE);
|
||||
gimp_tool_control_set_precision (tool->control,
|
||||
GIMP_CURSOR_PRECISION_SUBPIXEL);
|
||||
|
@ -188,7 +188,6 @@ gimp_vector_tool_init (GimpVectorTool *vector_tool)
|
||||
{
|
||||
GimpTool *tool = GIMP_TOOL (vector_tool);
|
||||
|
||||
gimp_tool_control_set_scroll_lock (tool->control, FALSE);
|
||||
gimp_tool_control_set_handle_empty_image (tool->control, TRUE);
|
||||
gimp_tool_control_set_motion_mode (tool->control,
|
||||
GIMP_MOTION_MODE_COMPRESS);
|
||||
|
Reference in New Issue
Block a user