Code

Tutorials. Global tutorials update (see Bug #169020, Bug #672423 and Bug #438307).
[inkscape.git] / src / sp-textpath.h
index 19319660664365395e4602e46110d6d9568cb0f6..2f30f6023b7df9f916ae10fc0c5f88e47cd4dba5 100644 (file)
@@ -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);
@@ -48,4 +48,4 @@ void sp_textpath_to_text(SPObject *tp);
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :