Introduction
------------
When you compile a software against newer GTK headers, it might add dependencies
on newer symbols, which means that your software will only work with the new
version of GTK. This is because the values of some macros change. For example,
your software only uses GTK 2.2 features. It's supposed to work on GTK 2.2
systems. Your code calls the macro GDK_TRHEADS_ENTER(). But the value of this
macro has changed in GTK 2.4, which makes your software depend on a symbol
that only exists in GTK 2.4 and later. This makes it a pain to distribute GTK
binaries.

This tarball contains headers for older versions of GTK, and makes it easy for
you to compile your software against older headers.


Installation
------------
Become root and type:

	./install

The headers will be installed to /usr/local/gtk-headers. It's recommended that
you don't install the headers to anywhere else, because some future autopackage
build scripts will assume that older GTK headers are installed there.


Usage
-----
Prepend /usr/local/gtk-headers/$VERSION (where $VERSION is the first two version
numbers of your GTK target) to the compiler parameters, so that the compiler will
search that folder for headers first.

If you use a recent version of apbuild, then it's very easy to do that. Just add
that folder to the $APBUILD_INCLUDE environment variable. Here's an example of a
PrepareBuild section:

	[BuildPrepare]
	export APBUILD_INCLUDE="/usr/local/gtk-headers/2.4"
	prepareBuild



Hongli Lai <hongli@navi.cx>
