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

gboolean cr_declaration_unref ( CRDeclaration a_this  ) 

Decrements the ref count of the current instance of CRDeclaration. If the ref count reaches zero, the current instance of CRDeclaration if destroyed.

a_this the current instance of CRDeclaration.
TRUE if the current instance of CRDeclaration has been destroyed (ref count reached zero), FALSE otherwise.

Definition at line 698 of file cr-declaration.c.

References cr_declaration_destroy().

Referenced by cr_statement_at_font_face_rule_set_decls().

        g_return_val_if_fail (a_this, FALSE);

        if (a_this->ref_count) {

        if (a_this->ref_count == 0) {
                cr_declaration_destroy (a_this);
                return TRUE;
        return FALSE;

Generated by  Doxygen 1.6.0   Back to index