gtk: fix build on debian 12

This commit is contained in:
Jeffrey C. Ollie
2025-02-16 14:48:50 -06:00
parent b3f994a9d2
commit 2d5a07c795
2 changed files with 3 additions and 0 deletions

View File

@ -1083,6 +1083,8 @@ fn gtkTitlebarMenuActivate(
_: *c.GParamSpec,
ud: ?*anyopaque,
) callconv(.C) void {
// debian 12 is stuck on GTK 4.8
if (!version.atLeast(4, 10, 0)) return;
const active = c.gtk_menu_button_get_active(btn) != 0;
const self = userdataSelf(ud orelse return);
if (active) {

View File

@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \
libonig-dev \
lintian \
lsb-release \
libxml2-utils \
pandoc \
wget \
# Ghostty Dependencies