Logo Search packages:      
Sourcecode: inkscape version File versions

void cr_pseudo_destroy ( CRPseudo a_this  ) 

destructor of the CRPseudo class.

Parameters:
a_this the current instance to destroy.

Definition at line 132 of file cr-pseudo.c.

References _CRPseudo::extra, and _CRPseudo::name.

Referenced by cr_additional_sel_destroy(), and cr_additional_sel_set_pseudo().

{
        g_return_if_fail (a_this);

        if (a_this->name) {
                cr_string_destroy (a_this->name);
                a_this->name = NULL;
        }

        if (a_this->extra) {
                cr_string_destroy (a_this->extra);
                a_this->extra = NULL;
        }

        g_free (a_this);
}


Generated by  Doxygen 1.6.0   Back to index