glib/gtk minimum required versions

Jani Monoses jani.monoses at gmail.com
Sat Dec 17 12:44:28 CET 2005


Hello all,

In the 4.2 release notes it is stated that
'Minimum required GTK version is 2.2 (2.4 is recommended).'
I saw nothing similar related to the minimum required Glib version.

Currently because of -Werror, compilations against glib 2.10 break on
components which use GMemChunks (exo, thunar) as that API was deprecated
in favor of the new slice allocator [1]

I guess ifdefing with GLIB_CHECK_VERSION could be the solution if glib
2.10 is to be supported, or disabling -Werror on exo/thunar.
libxfce4-util also uses the deprecated API but since it is not compiled
with -Werror it builds fine.

Is the version requirement on glib/gtk planned to be tightened for 4.4?

thanks
Jani

[1] http://developer.gnome.org/doc/API/2.0/glib/glib-Memory-Slices.html




More information about the Xfce4-dev mailing list