This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 26 and 33 (spanning 7 versions)
Revision 26 as of 2010-08-20 22:35:46
Size: 3464
Editor: AndersBroman
Comment:
Revision 33 as of 2011-07-18 14:38:55
Size: 4259
Editor: JoergMayer
Comment: Add note about proto_help
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 ||hostlist_table.c || ||
 ||menus.c || ||
 ||proto_help.c || ||
 ||proto_hier_stats.c || ||
 ||service_response_time_table.c || ||
 ||wlan_stat_dlg.c ||Completed[[http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33761|Rev 33860]]||
 ||hostlist_table.c ||Completed[[http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33761|Rev 34014]]||
 ||menus.c || Note 1 ||
 ||proto_help.c || Note 2 ||
 ||proto_hier_stats.c ||Completed[[http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=34026|Rev 34026]]||
 ||service_response_time_table.c ||Completed[[http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=34002|Rev 34002]]||
 ||wlan_stat_dlg.c ||Completed[[http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33860|Rev 33860]]||
Line 23: Line 23:

==== Note 1 ====
A lot has already been done by Anders, which can be found under the compile switch MAIN_MENU_USE_UIMANAGER. The question now is how to integrate the more dynamic parts, like taps, statistics, etc.

==== Note 2 ====
Right now the code in proto_help has been disabled when building with MAIN_MENU_USE_UIMANAGER.
Line 27: Line 33:
 ||capture_dlg.c || ||  ||capture_dlg.c ||Completed: [[http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36741|Rev 36741]]||
Line 52: Line 58:
 ||airpcap_dlg.c || ||  ||airpcap_dlg.c ||Completed: [[http://anonsvn.wireshark.org/viewvc?view=rev&revision=35862|Rev 35862]]||

Replace use of deprecated GTK and GLib functions

Wireshark currently uses a number of GTK widget classes and GLib functions whose use has been deprecated.

This page is provides information as to work-in-progress to replace the use of these functions.

GtkItemFactory -> GtkUIManager

  • File

    Status

    conversations_table.c

    CompletedRev 33851

    expert_comp_table.c

    CompletedRev 33761

    hostlist_table.c

    CompletedRev 34014

    menus.c

    Note 1

    proto_help.c

    Note 2

    proto_hier_stats.c

    CompletedRev 34026

    service_response_time_table.c

    CompletedRev 34002

    wlan_stat_dlg.c

    CompletedRev 33860

Discussion

Note 1

A lot has already been done by Anders, which can be found under the compile switch MAIN_MENU_USE_UIMANAGER. The question now is how to integrate the more dynamic parts, like taps, statistics, etc.

Note 2

Right now the code in proto_help has been disabled when building with MAIN_MENU_USE_UIMANAGER.

GtkCombo -> GtkComboBoxEntry

  • File

    Status

    capture_dlg.c

    Completed: Rev 36741

GtkOptionMenu -> GtkComboBox

See Bug 4487 re dropdown widget behavior change seen when Windows Gtk was updated from Gtk 2.16 to Gtk 2.18.

Discussion

Question: Should these changes be backported to the 1.2 branch ? - Bill Meier

I reverted/upgraded the Win32 and Win64 GTK+ bundles in the trunk and trunk-1.2 branches to 2.16.6, so backporting shouldn't be necessary. 2.16 is strongly recommended over 2.18, and the latest 2.16 packages should hopefully take care of the Secunia complaints which spurred the upgrade to 2.18. - Gerald Combs

GtkClist -> GtkTreeView

Discussion

ReplaceDeprecatedGtkGLibFunctionUsage (last edited 2011-07-18 14:38:55 by JoergMayer)