fix(gtk): fix segfault/bus error on ctrl+d (#3694)

Fixes https://github.com/ghostty-org/ghostty/issues/3135 as per the fix
described here
https://github.com/ghostty-org/ghostty/issues/3135#issuecomment-2564273739
This commit is contained in:
Mitchell Hashimoto
2024-12-28 12:39:34 -08:00
committed by GitHub

View File

@ -339,7 +339,7 @@ pub const Notebook = union(enum) {
c.g_object_unref(tab.box);
}
c.gtk_window_destroy(tab.window.window);
c.gtk_window_destroy(window.window);
}
},
.gtk_notebook => |notebook| {