Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

static void sp_root_release ( SPObject object  )  [static]

This is a destructor routine for SPRoot objects. It de-references any <def> items and calls the parent class destructor.

Definition at line 186 of file sp-root.cpp.

References SPRoot::defs.

Referenced by sp_root_class_init().

{
    SPRoot *root = (SPRoot *) object;
    root->defs = NULL;

    if (((SPObjectClass *) parent_class)->release)
        ((SPObjectClass *) parent_class)->release(object);
}


Generated by  Doxygen 1.6.0   Back to index