summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/layer-selector.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-18 00:36:01 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-18 00:36:01 +0000
commit6753a094002684a8f14232934c9cdeba13e00e8e (patch)
tree89a64604fcee875bc79d899e21a2547af3965e60 /src/ui/widget/layer-selector.cpp
parentextensions. hpgl output. further patch 2 by TimeWaster (Bug 1118663) (diff)
downloadinkscape-6753a094002684a8f14232934c9cdeba13e00e8e.tar.gz
inkscape-6753a094002684a8f14232934c9cdeba13e00e8e.zip
Fix -Wunused-function warnings
(bzr r12221)
Diffstat (limited to 'src/ui/widget/layer-selector.cpp')
-rw-r--r--src/ui/widget/layer-selector.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp
index fbb9c0e24..7b1a8dbfb 100644
--- a/src/ui/widget/layer-selector.cpp
+++ b/src/ui/widget/layer-selector.cpp
@@ -163,17 +163,6 @@ LayerSelector::~LayerSelector() {
_selection_changed_connection.disconnect();
}
-namespace {
-
-/** Helper function - detaches desktop from selector
- */
-bool detach(LayerSelector *selector) {
- selector->setDesktop(NULL);
- return FALSE;
-}
-
-}
-
/** Sets the desktop for the widget. First disconnects signals
* for the current desktop, then stores the pointer to the
* given \a desktop, and attaches its signals to this one.