Wireshark-dev: [Wireshark-dev] Fix the last non-gtkitemfactory stuff for use with -DGTK_DISABLE
From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Thu, 14 Jul 2011 13:51:15 +0200
Hi,
I'm inclined to #if 0 out proto_help.c and let the ones that supplied the code fix it.

 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