Re: Deprecations
- From: Thomas Leonard <tal ecs soton ac uk>
- To: gtk-devel-list gnome org
- Subject: Re: Deprecations
- Date: Fri, 28 Apr 2006 20:08:50 +0100
On Thu, 27 Apr 2006 16:41:29 -0400, Behdad Esfahbod wrote:
[...]
> What we are doing in Pango and Gtk+ right now is to enable
> G_DISABLE_DEPRECATED if and only if the major.minor version of
> the available glib version is the same as the one we require.
>
> I also like if there was a way to detect when the required
> version of a module (glib and Gtk+ mainly) should be increased in
> an application. But that requires marking all the API with
> macros and version number that I know is not going to happen...
The easy way to get the same effect is to just change the version of the
headers you compile against. We have some simple tools which let you pick
the versions of GTK and GLib you want to compile against, download the
appropriate headers (into a local cache for next time), and run the build
against them.
The process is described in a blog post here:
http://rox.sourceforge.net/desktop/node/289
Would there be any interest in hosting the header archives on gtk.org?
--
Dr Thomas Leonard http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]