summaryrefslogtreecommitdiffstats
path: root/src/selection-describer.cpp
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-04 01:45:44 +0000
committerCampbell Barton <ideasman42@gmail.com>2012-10-04 01:45:44 +0000
commit370a3f5cc9e39352a081e5d5dd8c43676547a6e6 (patch)
tree3e7b18853b1902c189a5d1972db490c561b0b538 /src/selection-describer.cpp
parentextensions. Extrude. allow selection of multiple objects (Bug 1055155) (diff)
downloadinkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.tar.gz
inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.zip
code cleanup: add own includes to cpp files or make the functions static if they are not used elsewhere.
(bzr r11735)
Diffstat (limited to 'src/selection-describer.cpp')
-rw-r--r--src/selection-describer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp
index 3d1b97b04..c141c3da5 100644
--- a/src/selection-describer.cpp
+++ b/src/selection-describer.cpp
@@ -36,7 +36,7 @@
#include "sp-polyline.h"
#include "sp-spiral.h"
-const gchar *
+static const gchar *
type2term(GType type)
{
if (type == SP_TYPE_ANCHOR)
@@ -80,7 +80,7 @@ type2term(GType type)
return NULL;
}
-GSList *collect_terms (GSList *items)
+static GSList *collect_terms (GSList *items)
{
GSList *r = NULL;
for (GSList *i = items; i != NULL; i = i->next) {
@@ -92,7 +92,7 @@ GSList *collect_terms (GSList *items)
}
// Returns the number of filtered items in the list
-int count_filtered (GSList *items)
+static int count_filtered (GSList *items)
{
int count=0;
SPItem *item=NULL;