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

Wireshark-commits: [Wireshark-commits] rev 43961: /trunk/ui/gtk/ /trunk/ui/gtk/: main.c main.h main

Date: Tue, 24 Jul 2012 15:03:59 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43961

User: etxrab
Date: 2012/07/24 08:03 AM

Log:
 Analyze->Apply as Filter and Analyze->Prepare a Filter cause crashes
 
 user_data is NULL in the callbacks from the menu_bar, and when preparing filters we need to find the filter widget with g_object_get_data(G_OBJECT(data), E_DFILTER_TE_KEY).
 The object is saved in the global variable popup_menu_object.
 Use that in the filter callbacks from the menu bar.
 - remove unused widget from a couple of callbacks.
 
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7506

Directory: /trunk/ui/gtk/
  Changes    Path              Action
  +6 -7      main.c            Modified
  +2 -4      main.h            Modified
  +55 -54    main_menubar.c    Modified