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

SPObject* sp_object_unref ( SPObject object,
SPObject owner 
)

Decrease reference count of object, with possible debugging and finalization.

Parameters:
ownerIf non-NULL, make debug log entry.
Returns:
always NULL
Precondition:
object points to real object

Definition at line 326 of file sp-object.cpp.

Referenced by Inkscape::Widgets::LayerSelector::_destroyEntry(), Inkscape::Selection::_releaseContext(), Inkscape::Widgets::LayerSelector::_selectLayer(), Inkscape::ObjectHierarchy::_trimAbove(), Inkscape::ObjectHierarchy::_trimBelow(), SPObject::deleteObject(), Inkscape::LayerVerb::perform(), Inkscape::ObjectHierarchy::setBottom(), sp_object_build(), sp_object_child_added(), sp_object_detach(), sp_object_finalize(), sp_object_private_set(), sp_tref_convert_to_tspan(), and Inkscape::UI::PathManipulator::writeXML().

{
    g_return_val_if_fail(object != NULL, NULL);
    g_return_val_if_fail(SP_IS_OBJECT(object), NULL);
    g_return_val_if_fail(!owner || SP_IS_OBJECT(owner), NULL);

    Inkscape::Debug::EventTracker<UnrefEvent> tracker(object);
    g_object_unref(G_OBJECT(object));
    return NULL;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index