That must be a subversive trick from Jeff Morris in order to silently
maintain GTK1 code!!! ;-)
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Stephen Fisher
> Sent: lundi 7 avril 2008 06:18
> To: wireshark-dev@wireshark.org
> Subject: [Wireshark-dev] Redefining gtk version in uat_gui.c?
> 
> 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
> 
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> 

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to