Logo Search packages:      
Sourcecode: inkscape version File versions

void cr_sel_eng_destroy ( CRSelEng *  a_this  ) 

The destructor of CRSelEng

Parameters:
a_this the current instance of the selection engine.

Definition at line 1524 of file cr-sel-eng.c.

References cr_sel_eng_unregister_all_pseudo_class_sel_handlers().

{
        g_return_if_fail (a_this);

        if (!PRIVATE (a_this))
                goto end ;
        if (PRIVATE (a_this)->pcs_handlers) {
                cr_sel_eng_unregister_all_pseudo_class_sel_handlers
                        (a_this) ;
                PRIVATE (a_this)->pcs_handlers = NULL ;
        }
        g_free (PRIVATE (a_this));
        PRIVATE (a_this) = NULL;
 end:
        if (a_this) {
                g_free (a_this);
        }
}


Generated by  Doxygen 1.6.0   Back to index