summaryrefslogtreecommitdiff
path: root/src/cli/version.zig
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2025-01-30 22:59:36 -0600
committerJeffrey C. Ollie <jeff@ocjtech.us>2025-02-14 21:49:51 -0600
commit25c5ecf553a1460ad88607c838e2f282612d1b9f (patch)
tree75432903f59b1c90001505e48bc69aa206244cc2 /src/cli/version.zig
parentb975f1e860c53c1f6f8978a249151c6cbe48d78f (diff)
gtk: require libadwaita
This commit removes support for building without libadwaita.
Diffstat (limited to 'src/cli/version.zig')
-rw-r--r--src/cli/version.zig22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/cli/version.zig b/src/cli/version.zig
index 4a6af242c..f6d2ea9df 100644
--- a/src/cli/version.zig
+++ b/src/cli/version.zig
@@ -51,19 +51,15 @@ pub fn run(alloc: Allocator) !u8 {
gtk.gtk_get_minor_version(),
gtk.gtk_get_micro_version(),
});
- if (comptime build_options.adwaita) {
- try stdout.print(" - libadwaita : enabled\n", .{});
- try stdout.print(" build : {s}\n", .{
- gtk.ADW_VERSION_S,
- });
- try stdout.print(" runtime : {}.{}.{}\n", .{
- gtk.adw_get_major_version(),
- gtk.adw_get_minor_version(),
- gtk.adw_get_micro_version(),
- });
- } else {
- try stdout.print(" - libadwaita : disabled\n", .{});
- }
+ try stdout.print(" - libadwaita : enabled\n", .{});
+ try stdout.print(" build : {s}\n", .{
+ gtk.ADW_VERSION_S,
+ });
+ try stdout.print(" runtime : {}.{}.{}\n", .{
+ gtk.adw_get_major_version(),
+ gtk.adw_get_minor_version(),
+ gtk.adw_get_micro_version(),
+ });
if (comptime build_options.x11) {
try stdout.print(" - libX11 : enabled\n", .{});
} else {