summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-01-03 12:23:35 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-01-03 12:23:35 +0000
commitfde59b9691f02d4f33a9b327b0e0fac770109854 (patch)
treeee2438781f41cbc434c230bee3dbad3c28822058 /src/text-context.cpp
parentA few GSEAL issues in device-manager (diff)
downloadinkscape-fde59b9691f02d4f33a9b327b0e0fac770109854.tar.gz
inkscape-fde59b9691f02d4f33a9b327b0e0fac770109854.zip
Janitorial tasks: get rid of deprecated repr wrapper functions
(bzr r10830)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index e3ddb8cca..1f4c752c5 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -1726,7 +1726,7 @@ sp_text_context_forget_text(SPTextContext *tc)
// if we were called e.g. as the result of
// an undo or the element being removed from
// the XML editor
- if ( text_repr && sp_repr_parent(text_repr) ) {
+ if ( text_repr && text_repr->parent() ) {
sp_repr_unparent(text_repr);
SPDocumentUndo::done(sp_desktop_document(tc->desktop), SP_VERB_CONTEXT_TEXT,
_("Remove empty text"));