Bug#1126737: libgtk-3-dev: Incorrect type definition for `state` fields in Gdk-3.0.gir

Mazen Neifer mazen.neifer at edgepulsar.com
Sun Feb 1 00:40:02 GMT 2026


Package: libgtk-3-dev
Version: 3.24.49-3
Severity: normal
Tags: patch upstream
X-Debbugs-Cc: mazen.neifer at edgepulsar.com

Dear Maintainer,

   * What led up to the situation?
Building GTK bindings for Free Pascal using `git2pas` tool.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Cheked the definition of the fields in GIR file and compared it with
relevant C
header files.

   * What was the outcome of this action?
There is clearly a mismatch between C and GIR files.

   * What outcome did you expect instead?
Provided a patch to fix the issue.


-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.3+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgtk-3-dev depends on:
pn  gir1.2-cairo-1.0-dev                              <none>
ii  gir1.2-freedesktop-dev [gir1.2-xlib-2.0-dev]      1.84.0-1
ii  gir1.2-glib-2.0-dev [gir1.2-gio-2.0-dev]          2.84.4-3~deb13u2
ii  gir1.2-gtk-3.0                                    3.24.49-3
ii  libatk-bridge2.0-dev                              2.56.2-1+deb13u1
ii  libatk1.0-dev [gir1.2-atk-1.0-dev]                2.56.2-1+deb13u1
ii  libcairo2-dev                                     1.18.4-1+b1
ii  libcloudproviders-dev                             0.3.6-2
ii  libegl1-mesa-dev                                  25.0.7-2
ii  libepoxy-dev                                      1.5.10-2
ii  libfontconfig-dev                                 2.15.0-2.3
ii  libfribidi-dev                                    1.0.16-1
ii  libgdk-pixbuf-2.0-dev [gir1.2-gdkpixbuf-2.0-dev]  2.42.12+dfsg-4
ii  libglib2.0-dev                                    2.84.4-3~deb13u2
ii  libgtk-3-0t64                                     3.24.49-3
ii  libgtk-3-common                                   3.24.49-3
ii  libpango1.0-dev [gir1.2-pango-1.0-dev]            1.56.3-1
ii  libwayland-dev                                    1.23.1-3
ii  libx11-dev                                        2:1.8.12-1
ii  libxcomposite-dev                                 1:0.4.6-1
ii  libxcursor-dev                                    1:1.2.3-1
ii  libxdamage-dev                                    1:1.1.6-1+b2
ii  libxext-dev                                       2:1.3.4-1+b3
ii  libxfixes-dev                                     1:6.0.0-2+b4
ii  libxi-dev                                         2:1.8.2-1
ii  libxinerama-dev                                   2:1.1.4-3+b4
ii  libxkbcommon-dev                                  1.7.0-2
ii  libxrandr-dev                                     2:1.5.4-1+b3
ii  pkgconf                                           1.8.1-4
ii  wayland-protocols                                 1.44-1

libgtk-3-dev recommends no packages.

Versions of packages libgtk-3-dev suggests:
pn  libgtk-3-doc  <none>

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20260201/9c149c43/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gdk-3.0.gir.patch
Type: text/x-patch
Size: 3616 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20260201/9c149c43/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list