mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
apprt/gtk: remove useless calls
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user