terminal: fix mistaken gtk logic

pull/8840/head
Mitchell Hashimoto 2025-09-21 20:29:16 -07:00
parent 14eb8aa4e4
commit 3e1ba35843
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ pub const MouseShape = enum(c_int) {
/// Make this a valid gobject if we're in a GTK environment.
pub const getGObjectType = gtk: {
switch (build_options.artifact) {
.ghostty => break :gtk void,
.lib => {},
.ghostty => {},
.lib => break :gtk void,
}
break :gtk switch (@import("../build_config.zig").app_runtime) {