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

From: "Luis EG Ontanon" <luis@xxxxxxxxxxx>
Date: Mon, 7 Apr 2008 08:24:09 +0200
I probably just copied these from another file (color filters maybe?).
I never noticed this.


On Mon, Apr 7, 2008 at 6:18 AM, Stephen Fisher <stephentfisher@xxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxx
>  http://www.wireshark.org/mailman/listinfo/wireshark-dev
>



-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan