summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-07-20 16:36:22 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-07-20 16:36:22 +0000
commit2d7d1528cc81b11067013e8a0830538a03d60220 (patch)
tree2b608aa7f099e1117dd73479e44a5ad0d0d70968 /src/shape-editor.h
parent* [INTL: sk] (trunk) Updated Slovak translation (diff)
downloadinkscape-2d7d1528cc81b11067013e8a0830538a03d60220.tar.gz
inkscape-2d7d1528cc81b11067013e8a0830538a03d60220.zip
fix stupid crash, make get_item const
(bzr r6369)
Diffstat (limited to 'src/shape-editor.h')
-rw-r--r--src/shape-editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shape-editor.h b/src/shape-editor.h
index 918102761..2a6da68c3 100644
--- a/src/shape-editor.h
+++ b/src/shape-editor.h
@@ -44,7 +44,7 @@ public:
void reset_item (SubType type, bool keep_knotholder = true);
void unset_item (SubType type, bool keep_knotholder = false);
- SPItem *get_item (SubType type);
+ const SPItem *get_item (SubType type);
bool has_nodepath ();
bool has_knotholder ();