From fb992706b0cd8a209534ebfdfc595dc3d1bd87ad Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Wed, 16 Jan 2019 13:52:26 +0100 Subject: Make InkscapeWindow responsible for adding window to app. Prevents premature program termination if original window deleted. --- src/inkscape-application.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/inkscape-application.cpp') diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index 54deedbbc..9a9cd3d75 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -340,9 +340,6 @@ ConcreteInkscapeApplication::create_window(const Glib::RefPtr< _active_document = desktop->getDocument(); // _documents.push_back(desktop->getDocument()); - // Add Gtk::Window to app window list. - add_window(*desktop->getToplevel()); - return (desktop); // Temp: Need to track desktop for shell mode. } -- cgit v1.2.3