Remove custom CAPI function

and use the already existing get_config function
This commit is contained in:
SoraTenshi
2023-09-14 00:08:16 +02:00
committed by Mitchell Hashimoto
parent 3cb21dd76e
commit ddb9be0971
3 changed files with 7 additions and 9 deletions

View File

@@ -119,10 +119,6 @@ export fn ghostty_config_get_error(self: *Config, idx: u32) Error {
return .{ .message = err.message.ptr };
}
export fn ghostty_config_render_decoration(self: *Config) bool {
return self.@"window-decoration";
}
/// Sync with ghostty_error_s
const Error = extern struct {
message: [*:0]const u8 = "",