Re: Finding Version of GTK installed



On Mon, 4 Dec 2006 13:09:46 -0500
David Vandepol <vandepol ca ibm com> wrote:

a gtk-config file is not created in /usr/lib or anyplace
for that matter.  I was wondering if anyone knew how to determine the
version of GTK installed, or any file(s) that would contain this
information.

gtk-config was for GTK+ version 1.x. From 2.0 on, the version can
be interrogated by

pkg-config --modversion gtk+    (for version 1.2.x)

pkg-config --modversion gtk+-2.0  (for version 2.x - the 2.0 is
misleading)

use --modversion, not --version (the latter will give you the version of
pkg-config)

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]