From 004fe59d2319cc55711772a32a976f8956587432 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 28 Jan 2017 07:41:42 +0100 Subject: use GTK_CHECK_VERSION for previous commit --- shell/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/main.c b/shell/main.c index d9dd361e..49a1f568 100644 --- a/shell/main.c +++ b/shell/main.c @@ -234,7 +234,9 @@ main (int argc, char *argv[]) textdomain (GETTEXT_PACKAGE); #endif +#if GTK_CHECK_VERSION (3, 0, 0) gdk_set_allowed_backends ("x11"); +#endif context = g_option_context_new (N_("MATE Document Viewer")); g_option_context_set_translation_domain(context, GETTEXT_PACKAGE); -- cgit v1.2.1