mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
apprt/gtk: Window css styling is no longer used
This commit is contained in:
@ -25,9 +25,6 @@ window: *c.GtkWindow,
|
|||||||
/// The notebook (tab grouping) for this window.
|
/// The notebook (tab grouping) for this window.
|
||||||
notebook: *c.GtkNotebook,
|
notebook: *c.GtkNotebook,
|
||||||
|
|
||||||
/// The background CSS for the window (if any).
|
|
||||||
css_window_background: ?[]u8 = null,
|
|
||||||
|
|
||||||
/// The resources directory for the icon (if any).
|
/// The resources directory for the icon (if any).
|
||||||
icon_search_dir: ?[:0]const u8 = null,
|
icon_search_dir: ?[:0]const u8 = null,
|
||||||
|
|
||||||
@ -125,7 +122,6 @@ pub fn init(self: *Window, app: *App) !void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn deinit(self: *Window) void {
|
pub fn deinit(self: *Window) void {
|
||||||
if (self.css_window_background) |ptr| self.app.core_app.alloc.free(ptr);
|
|
||||||
if (self.icon_search_dir) |ptr| self.app.core_app.alloc.free(ptr);
|
if (self.icon_search_dir) |ptr| self.app.core_app.alloc.free(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user