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
No error/deprecated messages at build- nor at run-time
9.2.0014
CRUX Linux 3.8, all packages up-to-date
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
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.![]()
This might be helpful:
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
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.![]()
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.![]()