diff options
author | raveit65 <[email protected]> | 2017-01-28 07:41:42 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-01-28 07:41:42 +0100 |
commit | 004fe59d2319cc55711772a32a976f8956587432 (patch) | |
tree | ca255c376e1ec2e48b9b345f7ff7c9ad243d38e9 | |
parent | 91ab1cd3f86b5eea08f040df8ff53981a7bbe665 (diff) | |
download | atril-004fe59d2319cc55711772a32a976f8956587432.tar.bz2 atril-004fe59d2319cc55711772a32a976f8956587432.tar.xz |
use GTK_CHECK_VERSION for previous commit
-rw-r--r-- | shell/main.c | 2 |
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); |