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 3 and 5 (spanning 2 versions)
Revision 3 as of 2010-02-18 06:08:29
Size: 907
Editor: AndersBroman
Comment: Add GTK clist
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 7: Line 8:
<<TableOfContents>>
Line 8: Line 10:


== gtk_option_menu -> gtk_combo_box ==
== GtkOptionMenu -> GtkComboBox ==
Line 14: Line 14:
 ||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||
 ||'''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: [[http://anonsvn.wireshark.org/viewvc?view=rev&revision=31908|Rev 31908]]||
Line 22: Line 23:
Question: Should these changes be backported to the 1.2 branch ? == GtkClist -> GtkTreeView ==
Line 24: Line 25:
== gtk_clist -> gtk_list_view or gtk_tree_view ==
 ||airpcap_dlg.c|| ||
 ||mcast_stream_dlg.c|| ||
 ||rtp_stream_dlg.c|| ||
 ||uat_gui.c|| ||
 ||voip_calls_dlg.c|| ||
 ||'''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''

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)