diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2011-06-25 15:35:01 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-25 15:35:01 +0000 |
| commit | dcf765f3dcbff2e65428e0f002bb5ea3648940f0 (patch) | |
| tree | 307d762b00b7ef44a24b31cb434d00e46ede7140 /src/widgets | |
| parent | added a Modules cmake dir, only use for find_package, reference cmake include... (diff) | |
| download | inkscape-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')
| -rw-r--r-- | src/widgets/desktop-widget.h | 2 | ||||
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/desktop-widget.h b/src/widgets/desktop-widget.h index fdf651287..79994a299 100644 --- a/src/widgets/desktop-widget.h +++ b/src/widgets/desktop-widget.h @@ -246,7 +246,7 @@ struct SPDesktopWidget { private: GtkWidget *tool_toolbox; GtkWidget *aux_toolbox; - GtkWidget *commands_toolbox,; + GtkWidget *commands_toolbox; GtkWidget *snap_toolbox; static void init(SPDesktopWidget *widget); 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; } |
