diff options
author | raveit65 <[email protected]> | 2017-01-08 11:24:47 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-01-08 11:24:47 +0100 |
commit | b03c3e3d24e7c623e20d7303c3686b7f914fe43f (patch) | |
tree | 2a6a44368467b218888c7cbfef6e484e07ba50c9 /src/caja-main.c | |
parent | 9960403d634f42ad23d89bec6e0b57d4644a04fa (diff) | |
download | caja-b03c3e3d24e7c623e20d7303c3686b7f914fe43f.tar.bz2 caja-b03c3e3d24e7c623e20d7303c3686b7f914fe43f.tar.xz |
use GTK_CHECK_VERSION for gdk_set_allowed_backends
Diffstat (limited to 'src/caja-main.c')
-rw-r--r-- | src/caja-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)) { |