Wireshark-dev: [Wireshark-dev] Should we support GTK+ 2.0[.x] and 2.2[.x], or just 2.4 and late
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 20 Apr 2008 17:35:29 -0700
The SVN trunk of Wireshark has had the GTK+ 1.2[.x]/GLib 1.2[.x] support removed. There's still code in there that checks for GTK+ releases prior to 2.4; however:

1) I checked in a fix to the configure script and to gtk/file_dlg.c that prevented Wireshark from compiling on GTK+ 2.2.4/GLib 2.2.3

and

	2) even with that change, it still fails with

main_toolbar.c: In function 'toolbar_new':
main_toolbar.c:447: error: 'colorize_24_xpm' undeclared (first use in this function)
main_toolbar.c:447: error: (Each undeclared identifier is reported only once
main_toolbar.c:447: error: for each function it appears in.)
main_toolbar.c:451: error: 'autoscroll_24_xpm' undeclared (first use in this function)

because neither colorize_24_xpm nor autoscroll_24_xpm are defined (with GTK+ 2.4 and later, the macro being used there ignores the xpm argument).

The GTK+ site's page for downloading source:

	http://www.gtk.org/download-linux.html

has links going back to 2.4, as well as a 1.2[x.] link, but no links for earlier versions.

Has anybody build Wireshark with a pre-2.4 release recently? If not, are there enough systems out there with pre-2.4 releases for us to spend any time cleaning up the code to build with them? If not, should we just get rid of the code to support pre-2.4 releases?