-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
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 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