Logo Search packages:      
Sourcecode: inkscape version File versions

bool sp_view_widget_shutdown ( SPViewWidget vw  ) 

Allows presenting 'save changes' dialog, FALSE - continue, TRUE - cancel.

Calls the virtual shutdown() function of the SPViewWidget.

Definition at line 114 of file view-widget.cpp.

{
    g_return_val_if_fail(vw != NULL, TRUE);
    g_return_val_if_fail(SP_IS_VIEW_WIDGET(vw), TRUE);

    if (((SPViewWidgetClass *) G_OBJECT_GET_CLASS(vw))->shutdown) {
        return ((SPViewWidgetClass *) G_OBJECT_GET_CLASS(vw))->shutdown(vw);
    }

    return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index