mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 10:16:12 +03:00
apprt/gtk-ng: assert that GTK is uninitialized in setGtkEnv (#7965)
This commit is contained in:
@ -541,6 +541,8 @@ pub const GhosttyApplication = extern struct {
|
||||
///
|
||||
/// This must be called BEFORE GTK initialization.
|
||||
fn setGtkEnv(config: *const Config) error{NoSpaceLeft}!void {
|
||||
assert(gtk.isInitialized() == 0);
|
||||
|
||||
var gdk_debug: struct {
|
||||
/// output OpenGL debug information
|
||||
opengl: bool = false,
|
||||
|
Reference in New Issue
Block a user