[vim/vim] gvim: Changed behavior of gdk-pixbuf 2.44.5 gives startup error messsage (Issue #19446)

10 views
Skip to first unread message

fjaell

unread,
Feb 18, 2026, 5:38:37 AM (5 days ago) Feb 18
to vim/vim, Subscribed
fjaell created an issue (vim/vim#19446)

Steps to reproduce

gvim is using a deprecated API of gdk-pixbuf which leads to several warnings at build time,
for example:

gui_gtk_x11.c: In function 'mainwin_realize':
gui_gtk_x11.c:2760:13: warning: 'gdk_pixbuf_new_from_xpm_data' is deprecated [-Wdeprecated-declarations]
2760 | icons = g_list_prepend(icons, gdk_pixbuf_new_from_xpm_data((const char **)vim16x16));

At startup I see the several of the following warning/error messages:

(gvim:13469): GdkPixbuf-WARNING **: 11:29:24.137: gdk-pixbuf XPM module lacks XPM data capability
(gvim:13469): GLib-GObject-CRITICAL **: 11:29:24.137: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

Even though gvim works as expected.
This behavior is new to version 2.44.5 of gdk-pixbuf, version 2.44.4 and older works.
I've reported the bug to upstream gdk-pixbuf, with no success,
see https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/299

Expected behaviour

No error/deprecated messages at build- nor at run-time

Version of Vim

9.2.0014

Environment

CRUX Linux 3.8, all packages up-to-date

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19446@github.com>

Christian Brabandt

unread,
Feb 18, 2026, 9:52:23 AM (5 days ago) Feb 18
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19446)

any idea what this should be replaced by?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19446/3921270901@github.com>

fjaell

unread,
Feb 18, 2026, 10:35:42 AM (4 days ago) Feb 18
to vim/vim, Subscribed
fjaell left a comment (vim/vim#19446)

This might be helpful:

https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blame/master/gdk-pixbuf/gdk-pixbuf-io.c?ref_type=heads#L2246


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19446/3921503924@github.com>

zdohnal

unread,
Feb 19, 2026, 4:28:56 AM (4 days ago) Feb 19
to vim/vim, Subscribed
zdohnal left a comment (vim/vim#19446)

My 2 cents as Fedora maintainer (hopefully not off-topic) - in Fedora gdk-pixbuf2 maintainer disabled XPM and several other formats during build, so for now we have gdk-pixbuf2-extras in Fedora, which provides XPM for now, but it was hit by this issue as well.

IIRC Gnome developers response in discussion around disabling XPM was the format is deprecated and apps should use different formats for icons, like png or similar.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19446/3925867043@github.com>

rezso

unread,
Feb 21, 2026, 9:20:12 PM (yesterday) Feb 21
to vim/vim, Subscribed
rezso left a comment (vim/vim#19446)

https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/299#note_2686901


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19446/3939942466@github.com>

Reply all
Reply to author
Forward
0 new messages