diff --git a/src/apprt/gtk.zig b/src/apprt/gtk.zig index abb06842d..705880962 100644 --- a/src/apprt/gtk.zig +++ b/src/apprt/gtk.zig @@ -133,8 +133,6 @@ pub const App = struct { // Terminate the application. The application will not be restarted after // this so all global state can be cleaned up. pub fn terminate(self: *App) void { - c.g_signal_emit(self.app, c.g_signal_lookup("shutdown", c.g_application_get_type()), 0); - c.g_settings_sync(); while (c.g_main_context_iteration(self.ctx, 0) != 0) {} c.g_main_context_release(self.ctx); @@ -191,9 +189,6 @@ pub const App = struct { _ = parent_; const alloc = self.core_app.alloc; - // If we're trying to quit, then do not open any new windows. - if (!self.running) return; - // Allocate a fixed pointer for our window. We try to minimize // allocations but windows and other GUI requirements are so minimal // compared to the steady-state terminal operation so we use heap