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

SPDrawAnchor* sp_draw_anchor_destroy ( SPDrawAnchor anchor  ) 

Destroys the anchor's canvas item and frees the anchor object.

Definition at line 54 of file draw-anchor.cpp.

References SPDrawAnchor::ctrl.

Referenced by pencil_handle_button_release().

{
    if (anchor->ctrl) {
        gtk_object_destroy(GTK_OBJECT(anchor->ctrl));
    }
    g_free(anchor);
    return NULL;
}


Generated by  Doxygen 1.6.0   Back to index