summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2013-01-11 07:30:09 +0000
committerJon A. Cruz <jon@joncruz.org>2013-01-11 07:30:09 +0000
commitcfe9c94712a2ff6849b123672e51b603f20e76ae (patch)
treed3377768830691887a801cc7b45c3e8adb0c2c55 /src/widgets/stroke-style.cpp
parentgimpcolorwheel: Clean up drawing functions (diff)
downloadinkscape-cfe9c94712a2ff6849b123672e51b603f20e76ae.tar.gz
inkscape-cfe9c94712a2ff6849b123672e51b603f20e76ae.zip
Warning and dead code cleanup.
(bzr r12014)
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index 7912b654a..ede98a48a 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -434,8 +434,7 @@ StrokeStyle::makeRadioButton(Gtk::RadioButton *tb, char const *icon,
* Gets the marker uri string and applies it to all selected
* items in the current desktop.
*/
-void
-StrokeStyle::markerSelectCB(MarkerComboBox *marker_combo, StrokeStyle *spw, SPMarkerLoc const which)
+void StrokeStyle::markerSelectCB(MarkerComboBox *marker_combo, StrokeStyle *spw, SPMarkerLoc const /*which*/)
{
if (spw->update) {
return;
@@ -485,12 +484,10 @@ StrokeStyle::markerSelectCB(MarkerComboBox *marker_combo, StrokeStyle *spw, SPMa
css = 0;
spw->update = false;
-
};
-void
-StrokeStyle::updateMarkerHist(SPMarkerLoc const which) {
-
+void StrokeStyle::updateMarkerHist(SPMarkerLoc const which)
+{
switch (which) {
case SP_MARKER_LOC_START:
startMarkerConn.block();