Skip to content

fix build on stable distros

Enrico Weigelt requested to merge metux/libxfce4windowing:submit/fix_3_glib into main

Many stable distros don't have the fairly new glib 2.68.0 version, so installing libxfcewindowing brings in a long and invasive dependency chain. All we really need that for is g_memdup2(), which isn't really necessary for us.

This can be solved by adding a tiny inline wrapper if glib isn't new enough - the problem that g_memdup2() solves isn't really relevant here (it's just a few tiny icons - no severl GBs large buffers).

Closes: Signed-off-by: Enrico Weigelt, metux IT consult

Merge request reports