Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_ui_close_view ( GtkWidget *   ) 

widget unused

Definition at line 309 of file interface.cpp.

References SPDesktop::destroyWidget(), and SPDesktop::shutdown().

Referenced by Inkscape::FileVerb::perform(), and sp_event_context_private_root_handler().

      SPDesktop *dt = SP_ACTIVE_DESKTOP;

      if (dt == NULL) {

    if (dt->shutdown()) {
        return; // Shutdown operation has been canceled, so do nothing

    // Shutdown can proceed; use the stored reference to the desktop here instead of the current SP_ACTIVE_DESKTOP,
    // because the user might have changed the focus in the meantime (see bug #381357 on Launchpad)

Generated by  Doxygen 1.6.0   Back to index