X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-textpath.h;h=2f30f6023b7df9f916ae10fc0c5f88e47cd4dba5;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hp=76d236cc9bfa91c584086b6f2f299e3028a268a8;hpb=a4030d5ca449e7e384bc699cd249ee704faaeab0;p=inkscape.git 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);