X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-textpath.h;h=2f30f6023b7df9f916ae10fc0c5f88e47cd4dba5;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hp=6642587d2776b4ad0f597628c2d0b6b7de8e1cd8;hpb=ab17729e09d54ccfcb65645e6dae62a343e9c6b7;p=inkscape.git diff --git a/src/sp-textpath.h b/src/sp-textpath.h index 6642587d2..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) && obj->first_child() && SP_IS_TEXTPATH(obj->first_child())) +#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 :