To avoid adding icons to menu items, leave item_type along, not just

entry_data; otherwise, you get a bunch of run-time warnings from GTK+. 
Remove the line that sets extra_data, rather than commenting it out with
a C++ comment.

svn path=/trunk/; revision=27339
This commit is contained in:
Guy Harris 2009-02-01 02:59:28 +00:00
parent 03a31436a1
commit faa534529c
1 changed files with 0 additions and 2 deletions

View File

@ -1432,8 +1432,6 @@ static guint merge_tap_menus_layered(GList *node, gint group) {
entry->extra_data = WIRESHARK_STOCK_TIME;
break;
case(REGISTER_STAT_GROUP_TELEPHONY):
entry->item_type = "<StockItem>";
//entry->extra_data = WIRESHARK_STOCK_TELEPHONY;
break;
case(REGISTER_ANALYZE_GROUP_UNSORTED):
break;