summaryrefslogtreecommitdiffstats
path: root/src/sp-textpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-textpath.h')
-rw-r--r--src/sp-textpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-textpath.h b/src/sp-textpath.h
index 76d236cc9..2f30f6023 100644
--- a/src/sp-textpath.h
+++ b/src/sp-textpath.h
@@ -31,7 +31,7 @@ struct SPTextPathClass {
GType sp_textpath_get_type();
-#define SP_IS_TEXT_TEXTPATH(obj) (SP_IS_TEXT(obj) && sp_object_first_child(obj) && SP_IS_TEXTPATH(sp_object_first_child(obj)))
+#define SP_IS_TEXT_TEXTPATH(obj) (SP_IS_TEXT(obj) && obj->firstChild() && SP_IS_TEXTPATH(obj->firstChild()))
SPItem *sp_textpath_get_path_item(SPTextPath *tp);
void sp_textpath_to_text(SPObject *tp);