Wireshark-dev: Re: [Wireshark-dev] XML parsing
From: Bill Meier <[email protected]>
Date: Sat, 21 Mar 2009 08:25:01 -0400
Abhik Sarkar wrote:
Ah, thanks Jeff; I understand now. I checked (http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html) and it suggests it has been around since version 2.16... so I guess it is OK to use it.

configure.in requiring GTK to be 2.4 or greater means that Wireshark tries to support any version of GTK starting with 2.4.
(Any code requiring a feature only available in later GTK versions is 
#ifdef'd to be compiled only if Wireshark is being built with that 
version or newer. In general, if this is done, alternative code should 
be provided which compiles and works with the earlier GTK version).
So: if a function was implemented as of GTK 2.16, that means that any 
Wireshark build on a system with an earlier GTK version will fail trying 
to use that function. (Note that GTK 2.4 is [much] older than Gtk 2.16).
For example: my fairly up-to-date Fedora 10 system has Gtk2 2.14.7....