summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2019-05-18 20:00:05 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2019-05-20 16:22:27 +0000
commit06a8c1e5f8086e3b3289059b0bc5e1bb4c6e0f8d (patch)
tree1fd818b22eb40224d304b3535d5955ed0113fce5 /src/seltrans.cpp
parentMore pixel-level alignment fixes for various controls, by making all controls... (diff)
downloadinkscape-06a8c1e5f8086e3b3289059b0bc5e1bb4c6e0f8d.tar.gz
inkscape-06a8c1e5f8086e3b3289059b0bc5e1bb4c6e0f8d.zip
Change the data type of size/width/height of the controls to unsigned int
Diffstat (limited to 'src/seltrans.cpp')
-rw-r--r--src/seltrans.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index 46cf9d88b..ff3804acb 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -139,7 +139,7 @@ Inkscape::SelTrans::SelTrans(SPDesktop *desktop) :
"anchor", SP_ANCHOR_CENTER,
"mode", SP_CTRL_MODE_XOR,
"shape", SP_CTRL_SHAPE_BITMAP,
- "size", 13.0,
+ "size", 13,
"filled", TRUE,
"fill_color", 0x00000000,
"stroked", TRUE,
@@ -152,7 +152,7 @@ Inkscape::SelTrans::SelTrans(SPDesktop *desktop) :
"anchor", SP_ANCHOR_CENTER,
"mode", SP_CTRL_MODE_XOR,
"shape", SP_CTRL_SHAPE_CROSS,
- "size", 7.0,
+ "size", 7,
"filled", TRUE,
"fill_color", 0xffffff7f,
"stroked", TRUE,
@@ -762,7 +762,7 @@ void Inkscape::SelTrans::handleGrab(SPKnot *knot, guint /*state*/, SPSelTransHan
case HANDLE_CENTER:
g_object_set(G_OBJECT(_grip),
"shape", SP_CTRL_SHAPE_BITMAP,
- "size", 13.0,
+ "size", 13,
NULL);
sp_canvas_item_hide(_norm);
sp_canvas_item_show(_grip);
@@ -770,7 +770,7 @@ void Inkscape::SelTrans::handleGrab(SPKnot *knot, guint /*state*/, SPSelTransHan
default:
g_object_set(G_OBJECT(_grip),
"shape", SP_CTRL_SHAPE_CROSS,
- "size", 7.0,
+ "size", 7,
NULL);
sp_canvas_item_show(_norm);
sp_canvas_item_show(_grip);