mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk: fix build on debian 12
This commit is contained in:
@ -1083,6 +1083,8 @@ fn gtkTitlebarMenuActivate(
|
|||||||
_: *c.GParamSpec,
|
_: *c.GParamSpec,
|
||||||
ud: ?*anyopaque,
|
ud: ?*anyopaque,
|
||||||
) callconv(.C) void {
|
) 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 active = c.gtk_menu_button_get_active(btn) != 0;
|
||||||
const self = userdataSelf(ud orelse return);
|
const self = userdataSelf(ud orelse return);
|
||||||
if (active) {
|
if (active) {
|
||||||
|
@ -10,6 +10,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \
|
|||||||
libonig-dev \
|
libonig-dev \
|
||||||
lintian \
|
lintian \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
|
libxml2-utils \
|
||||||
pandoc \
|
pandoc \
|
||||||
wget \
|
wget \
|
||||||
# Ghostty Dependencies
|
# Ghostty Dependencies
|
||||||
|
Reference in New Issue
Block a user