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 4 and 5
Revision 4 as of 2010-02-18 06:15:03
Size: 1189
Editor: JaapKeuter
Comment: Putting in some style.
Revision 5 as of 2010-02-18 06:43:57
Size: 1301
Editor: JaapKeuter
Comment: Add references and use proper class names
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Replace use of deprecated Gtk and GLib functions = = Replace use of deprecated GTK and GLib functions =
Line 3: Line 3:
Wireshark currently uses a number of Gtk and GLib functions whose use has been deprecated. Wireshark currently uses a number of [[http://library.gnome.org/devel/gtk/2.6/DeprecatedObjects.html|GTK]] widget classes
and [[http://library.gnome.org/devel/glib/2.6/ix02.html|
GLib]] functions whose use has been deprecated.
Line 9: Line 10:
== gtk_option_menu -> gtk_combo_box == == GtkOptionMenu -> GtkComboBox ==
Line 22: Line 23:
== gtk_clist -> gtk_list_view or gtk_tree_view == == GtkClist -> GtkTreeView ==

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

    capture_file_dlg.c

    firewall_dlg.c

    In progress: WMeier

    dcerpc_stat.c

    decode_as_dlg.c

    rpc_stat.c

    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 ? - BillMeier

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