aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/gtk/bytes_view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gtk/bytes_view.c b/ui/gtk/bytes_view.c
index d8487d9927..73750d20ae 100644
--- a/ui/gtk/bytes_view.c
+++ b/ui/gtk/bytes_view.c
@@ -37,9 +37,11 @@
#undef GTK_DISABLE_DEPRECATED
#undef GSEAL_ENABLE
-#include <gtk/gtkmarshal.h>
#include <gtk/gtk.h>
+#if !GTK_CHECK_VERSION(3, 0, 0)
+#include <gtk/gtkmarshal.h>
+#endif
#include "ui/gtk/old-gtk-compat.h"
#include <string.h>