mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
apprt/gtk: config errors is not an application window
This commit is contained in:
@ -47,7 +47,7 @@ fn destroy(self: *ConfigErrors) void {
|
|||||||
|
|
||||||
fn init(self: *ConfigErrors, app: *App) !void {
|
fn init(self: *ConfigErrors, app: *App) !void {
|
||||||
// Create the window
|
// Create the window
|
||||||
const window = c.gtk_application_window_new(app.app);
|
const window = c.gtk_window_new();
|
||||||
const gtk_window: *c.GtkWindow = @ptrCast(window);
|
const gtk_window: *c.GtkWindow = @ptrCast(window);
|
||||||
errdefer c.gtk_window_destroy(gtk_window);
|
errdefer c.gtk_window_destroy(gtk_window);
|
||||||
c.gtk_window_set_title(gtk_window, "Configuration Errors");
|
c.gtk_window_set_title(gtk_window, "Configuration Errors");
|
||||||
|
Reference in New Issue
Block a user