Re: How to know my GTK+ version?



On Tue, Jan 31, 2012 at 11:31:59AM +0100, Manuel Ferrero wrote:
> I downloaded the all-in-one bundle for Win32, version 2.24.8,
> unzipped it and copied it in my disk, then I added the bin path to
> PATH variable.
> Now I can compile and run a simple program.
> 
> I read on some webpage how to know my GTK version with the following
> command line:
> pkg-config --variable=gtk_binary_version gtk+-2.0
> 
> but the output I get is:
> 2.10.0
> 
> So now I'm confused, do I have the 2.24.8 or the 2.10.0?

Gtk binary version defines the ABI version for extension modules.  So it
does not increase unless the ABI changes.  Run

    pkg-config --modversion gtk+-2.0

to get the Gtk+ version.

Yeti



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