summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-25 15:35:01 +0000
committerCampbell Barton <ideasman42@gmail.com>2011-06-25 15:35:01 +0000
commitdcf765f3dcbff2e65428e0f002bb5ea3648940f0 (patch)
tree307d762b00b7ef44a24b31cb434d00e46ede7140 /src/widgets/toolbox.cpp
parentadded a Modules cmake dir, only use for find_package, reference cmake include... (diff)
downloadinkscape-dcf765f3dcbff2e65428e0f002bb5ea3648940f0.tar.gz
inkscape-dcf765f3dcbff2e65428e0f002bb5ea3648940f0.zip
warning cleanup (no functional changes)
- enclose && / || with brackets to avoid ambiguity. - don't cast from booleans to pointers. (bzr r10359)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index fb91bfb53..a5d81d9bf 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -8015,7 +8015,7 @@ static void sp_connector_orthogonal_toggled( GtkToggleAction* act, GObject *tbl
if (cc_item_is_connector(item)) {
item->setAttribute( "inkscape:connector-type",
- value, false);
+ value, NULL);
item->avoidRef->handleSettingChange();
modmade = true;
}
@@ -8064,7 +8064,7 @@ static void connector_curvature_changed(GtkAdjustment *adj, GObject* tbl)
if (cc_item_is_connector(item)) {
item->setAttribute( "inkscape:connector-curvature",
- value, false);
+ value, NULL);
item->avoidRef->handleSettingChange();
modmade = true;
}