summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/main.c2
1 files changed, 2 insertions, 0 deletions
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);