wireshark/ui
Peter Wu 77ae30ffc5 gtk: fix compilation with GTK+ before 2.18
Removed in v1.99.2rc0-399-g43f09e6, but some includes are still needed.

Basically I looked for the functions defined in the
ui/gtk/old-gtk-compat.h header file that were in files below ui/gtk/.
Then I matched it against the removed part in the above commit and added
the header back at its old place. In two other cases, the header was
only needed for Windows.

If the above commit did not reference the file, I checked which function
was in use and added the header on top, removing redundant conditionals.

Reported and tested by a user of GTK+ 2.12.12 on top of v2.0.5.

Change-Id: I649eec1e5531070f88c99d893c4920306f56d849
Reviewed-on: https://code.wireshark.org/review/17371
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2016-09-01 08:27:59 +00:00
..
cli tap-iostat.c: ensure that interval is set to its maximum value when using 0 2016-08-29 11:54:21 +00:00
gtk gtk: fix compilation with GTK+ before 2.18 2016-09-01 08:27:59 +00:00
qt UAT gtk-ui, Qt-ui: Fixed copying records when no cp callback is defined 2016-08-28 16:08:05 +00:00
win32 Suggest using a task dialog, so we can label the buttons. 2016-07-23 08:57:22 +00:00
.editorconfig Add EditorConfig settings for most C files 2016-03-08 10:46:35 +00:00
CMakeLists.txt CMake: Allow setting per target compiler warnings 2016-08-23 21:33:09 +00:00
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
alert_box.c Make failure_alert_box() be printf-like. 2016-03-27 02:06:28 +00:00
alert_box.h Make failure_alert_box() be printf-like. 2016-03-27 02:06:28 +00:00
all_files_wildcard.h Add a #define for the wildcard pattern that matches all files. 2016-03-01 02:00:25 +00:00
capture.c Allow "capture info data" to not be a singleton. 2015-12-19 14:22:56 +00:00
capture.h capture(.h): fix api reference 2016-01-26 09:10:25 +00:00
capture_globals.h Allow "capture info data" to not be a singleton. 2015-12-19 14:22:56 +00:00
capture_ui_utils.c Qt: Use uniform interface display name 2015-12-02 09:57:35 +00:00
capture_ui_utils.h Qt: Update selected interface filter behavior. 2016-02-26 17:28:04 +00:00
commandline.c Qt+Gtk: Fix the -t command line flag. 2016-07-01 02:10:22 +00:00
commandline.h Qt+Gtk: Fix the -t command line flag. 2016-07-01 02:10:22 +00:00
console.c
console.h
decode_as_utils.c Ability to invoke "Decode As..." as command-line argument for GUIshark. 2016-06-19 18:59:07 +00:00
decode_as_utils.h Ability to invoke "Decode As..." as command-line argument for GUIshark. 2016-06-19 18:59:07 +00:00
doxygen.cfg.in
export_object.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
export_object.h
export_object_dicom.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
export_object_http.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
export_object_smb.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
export_object_tftp.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
export_pdu_ui_utils.c Allow create_tempfile to support a suffix. 2016-06-01 06:24:05 +00:00
export_pdu_ui_utils.h Implement Export PDU for tshark 2016-05-03 10:17:46 +00:00
file_dialog.h Add JSON export to Qt/GTK UI 2016-06-20 01:22:57 +00:00
firewall_rules.c Firewall rule fixups. 2016-06-06 06:27:47 +00:00
firewall_rules.h Qt: Firewall Rules dialog. 2016-06-01 23:37:25 +00:00
help_url.c Replace an #ifdef with g_path_is_absolute() 2016-07-23 19:38:04 +00:00
help_url.h Fix building without extcap enabled 2016-03-21 17:10:21 +00:00
iface_lists.c *_stdup_printf -> strdup for "single string only" formatting. 2016-06-06 06:03:58 +00:00
iface_lists.h ui: Update interfaces when when changing profile. 2015-12-02 11:33:24 +00:00
io_graph_item.c
io_graph_item.h Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
language.c Use "system" for "use system language", and don't try to print a null string. 2016-04-28 19:34:02 +00:00
language.h Use "system" for "use system language", and don't try to print a null string. 2016-04-28 19:34:02 +00:00
last_open_dir.h
main_statusbar.h
mcast_stream.c Revert "tap: change glib functions to wmem." 2016-06-19 10:47:10 +00:00
mcast_stream.h Fix crash in UDP Multicast Streams dialog 2015-11-27 21:15:11 +00:00
packet_list_utils.c Qt: Support "Resolve Names" with multiple custom column fields 2016-08-27 11:15:34 +00:00
packet_list_utils.h
persfilepath_opt.c
persfilepath_opt.h
preference_utils.c prefutils: Add convenience function 2016-01-26 16:37:06 +00:00
preference_utils.h Qt: Support the -j, -J, and -l command line flags 2016-06-23 03:03:51 +00:00
profile.c profile_name_is_valid() returns a malloced string [-Wcast-qual] 2016-01-21 02:32:46 +00:00
profile.h profile_name_is_valid() returns a malloced string [-Wcast-qual] 2016-01-21 02:32:46 +00:00
progress_dlg.h const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
proto_hier_stats.c Walk up the tree view of Protocol Hierarchy Statistics to look for protocol matches. 2016-03-12 03:05:07 +00:00
proto_hier_stats.h
recent.c Use separate main geometry settings for Qt and GTK+. 2016-06-08 03:41:32 +00:00
recent.h Use separate main geometry settings for Qt and GTK+. 2016-06-08 03:41:32 +00:00
recent_utils.h
rtp_media.c Start moving RTP decoding routines to the ui directory. 2015-09-19 15:02:16 +00:00
rtp_media.h Qt: fix jitter buffer management 2016-02-10 20:26:21 +00:00
rtp_stream.c Revert "tap: change glib functions to wmem." 2016-06-19 10:47:10 +00:00
rtp_stream.h RTP player: increase the maximum number of silence frames to 30 minutes worth. 2016-06-23 03:30:39 +00:00
service_response_time.c Squelch a compiler warning. 2015-07-04 02:31:55 +00:00
service_response_time.h Add ServiceResponseTimeDialog. 2015-07-03 23:09:13 +00:00
simple_dialog.h Do error checking on simple_error_message_box() calls and fix errors. 2015-07-04 02:39:18 +00:00
software_update.c
software_update.h
ssl_key_export.c
ssl_key_export.h
tap-iax2-analysis.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
tap-iax2-analysis.h Add the IAX2 Analysis dialog. 2015-09-09 21:57:08 +00:00
tap-rlc-graph.c Revert "tap: change glib functions to wmem." 2016-06-19 10:47:10 +00:00
tap-rlc-graph.h Always supply a g_mallocated error message from select_rlc_lte_session(). 2015-12-29 08:01:54 +00:00
tap-rtp-analysis.h Move IAX2 analysis to the ui directory. 2015-09-03 21:48:48 +00:00
tap-rtp-common.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
tap-rtp-common.h Add the RTP Stream Analysis dialog. 2015-07-16 00:30:14 +00:00
tap-sctp-analysis.c Revert "tap: change glib functions to wmem." 2016-06-19 10:47:10 +00:00
tap-sctp-analysis.h Move some definitions and declarations around. 2016-01-12 07:22:30 +00:00
tap-sequence-analysis.c Qt: Check for valid color filter before use 2016-06-01 17:31:31 +00:00
tap-sequence-analysis.h Qt: Color _ANY and _TCP sequence analysis items. 2016-06-01 04:27:13 +00:00
tap-tcp-stream.c Revert "tap: change glib functions to wmem." 2016-06-19 10:47:10 +00:00
tap-tcp-stream.h Qt: add initializers (CID 1162824). 2016-07-06 06:48:10 +00:00
tap_export_pdu.c Ensure to have a valid string pointer when writing OS SHB option 2016-07-26 13:48:40 +00:00
tap_export_pdu.h Implement Export PDU for tshark 2016-05-03 10:17:46 +00:00
text_import.c Qt: Multi line import from hex dump without offsets 2016-06-13 08:02:04 +00:00
text_import.h Make the Flex scanners and YACC parser in libraries reentrant. 2016-04-03 22:21:29 +00:00
text_import_scanner.h
text_import_scanner.l Make the Flex scanners and YACC parser in libraries reentrant. 2016-04-03 22:21:29 +00:00
time_shift.c Avoid unnecessary replacement source file floorl.c 2016-04-04 23:58:31 +00:00
time_shift.h
traffic_table_ui.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
traffic_table_ui.h
ui_util.h No need for toolkit-dependent color initialization. 2016-01-01 04:15:29 +00:00
util.c Replace and remove host_ip_af() function 2016-04-08 20:49:22 +00:00
util.h Add display_is_remote. 2015-07-16 16:17:33 +00:00
voip_calls.c Revert "tap: change glib functions to wmem." 2016-06-19 10:47:10 +00:00
voip_calls.h Qt: various fixes to VoIP calls / RTP player windows 2015-12-09 16:54:33 +00:00