mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-14 22:06:10 +00:00
init gtk app
This commit is contained in:
@@ -101,9 +101,9 @@ pub fn main() !void {
|
||||
// Run our app with a single initial window to start.
|
||||
var app = try App.create(alloc, .{}, &config);
|
||||
defer app.destroy();
|
||||
try app.run();
|
||||
if (build_config.app_runtime == .gtk) return;
|
||||
_ = try app.newWindow(.{});
|
||||
try app.run();
|
||||
}
|
||||
|
||||
// Required by tracy/tracy.zig to enable/disable tracy support.
|
||||
|
Reference in New Issue
Block a user