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 9 and 10
Revision 9 as of 2010-02-24 01:26:39
Size: 1669
Editor: BillMeier
Comment: rpc_stat.c complete...
Revision 10 as of 2010-02-25 00:07:22
Size: 2122
Editor: GeraldCombs
Comment: We're now using GTK+ 2.16.6.
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
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 [[https://bugzilla.gnome.org/show_bug.cgi?id=598299|strongly recommended over 2.18]], and the latest 2.16 packages should hopefully take care of the [[http://secunia.com/community/forum/thread/show/3238/wireshark_64bit_includes_outdated_gtk_library|Secunia complaints]] which spurred the upgrade to 2.18.

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.

GtkOptionMenu -> GtkComboBox

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

  • File

    Status

    capture_dlg.c

    In Progress: Bill Meier

    capture_file_dlg.c

    Completed: Rev 31950

    firewall_dlg.c

    Completed: Rev 31948

    dcerpc_stat.c

    In Progress: Bill Meier

    decode_as_dlg.c

    Completed: Rev 31949

    rpc_stat.c

    Completed: Rev 31972

    uat_gui.c

    Completed: Rev 31908

GtkClist -> GtkTreeView

  • File

    Status

    airpcap_dlg.c

    mcast_stream_dlg.c

    rtp_stream_dlg.c

    uat_gui.c

    voip_calls_dlg.c

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.

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