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

Wireshark-dev: Re: [Wireshark-dev] Fix the last non-gtkitemfactory stuff for use with -DGTK_DIS

From: Michael Tüxen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jul 2011 14:33:32 +0200
On Jul 14, 2011, at 1:51 PM, Anders Broman wrote:

> Hi,
> I'm inclined to #if 0 out proto_help.c and let the ones that supplied the code fix it.
What about pinging them? Not sure they follow this discussion?

Best regards
Michael
> 
> gtk/proto_help.c:79:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> gtk/proto_help.c:166:2: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
> gtk/proto_help.c:166:2: error: implicit declaration of function ‘gtk_item_factory_from_widget’
> gtk/proto_help.c:181:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
> gtk/proto_help.c:183:2: error: implicit declaration of function ‘gtk_item_factory_get_widget’
> gtk/proto_help.c:191:2: error: implicit declaration of function ‘gtk_item_factory_get_item’
> gtk/proto_help.c:216:2: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
> gtk/proto_help.c:216:23: error: ‘menu_entry’ undeclared (first use in this function)
> gtk/proto_help.c:217:2: error: ISO C90 forbids mixed declarations and code
> gtk/proto_help.c:222:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
> gtk/proto_help.c:258:4: error: implicit declaration of function ‘gtk_item_factory_create_item’
> 
> Regards
> Anders
> 
> 
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>