Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Redefining gtk version in uat_gui.c?

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sun, 6 Apr 2008 22:18:28 -0600
Why does this code at the top of gtk/uat_gui.c redefine 
GTK_MAJOR_VERSION to 1 if it is >= 2??

if GTK_MAJOR_VERSION >= 2
# undef GTK_MAJOR_VERSION
# define GTK_MAJOR_VERSION 1
# define BUTTON_SIZE_X -1
# define BUTTON_SIZE_Y -1
#else
# define BUTTON_SIZE_X 50
# define BUTTON_SIZE_Y 20
#endif