From b03c3e3d24e7c623e20d7303c3686b7f914fe43f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 8 Jan 2017 11:24:47 +0100 Subject: use GTK_CHECK_VERSION for gdk_set_allowed_backends --- src/caja-main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/caja-main.c') diff --git a/src/caja-main.c b/src/caja-main.c index 795a480e..fdaaa7b4 100644 --- a/src/caja-main.c +++ b/src/caja-main.c @@ -438,7 +438,9 @@ main (int argc, char *argv[]) g_set_prgname ("caja"); +#if GTK_CHECK_VERSION(3, 0, 0) gdk_set_allowed_backends ("x11"); +#endif if (g_file_test (DATADIR "/applications/caja.desktop", G_FILE_TEST_EXISTS)) { -- cgit v1.2.1