aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/response_time_delay_table.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-08-29 18:38:45 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-09-01 08:27:59 +0000
commit77ae30ffc598a56e71e0f57e151d0b6801110b03 (patch)
treeb9d073c9c77e93b5ab130bbae33768cef779d965 /ui/gtk/response_time_delay_table.c
parent717ca58264f1c745c3efb8d9da0050d52b51bb1f (diff)
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>
Diffstat (limited to 'ui/gtk/response_time_delay_table.c')
-rw-r--r--ui/gtk/response_time_delay_table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/response_time_delay_table.c b/ui/gtk/response_time_delay_table.c
index fb110fe018..3ee0ffff22 100644
--- a/ui/gtk/response_time_delay_table.c
+++ b/ui/gtk/response_time_delay_table.c
@@ -40,6 +40,8 @@
#include "ui/gtk/tap_param_dlg.h"
#include "ui/gtk/main.h"
+#include "ui/gtk/old-gtk-compat.h"
+
enum
{
TYPE_COLUMN,