summaryrefslogtreecommitdiffstats
path: root/src/select-context.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/select-context.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/select-context.cpp')
-rw-r--r--src/select-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp
index 4555e51aa..7fecc7167 100644
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
@@ -272,7 +272,7 @@ sp_select_context_abort(SPEventContext *event_context)
return false;
}
-bool
+static bool
key_is_a_modifier (guint key) {
return (key == GDK_KEY_Alt_L ||
key == GDK_KEY_Alt_R ||
@@ -284,7 +284,7 @@ key_is_a_modifier (guint key) {
key == GDK_KEY_Meta_R);
}
-void
+static void
sp_select_context_up_one_layer(SPDesktop *desktop)
{
/* Click in empty place, go up one level -- but don't leave a layer to root.