[gnome-settings-daemon] common: Force the X11 GTK+ backend



commit 23791fc7799918c6ab464702eb95b5860fd4315b
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Oct 8 16:02:25 2016 +0200

    common: Force the X11 GTK+ backend
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=706419
    and commit 44950095
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772370

 plugins/common/test-plugin.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/test-plugin.h b/plugins/common/test-plugin.h
index 9030697..72441c9 100644
--- a/plugins/common/test-plugin.h
+++ b/plugins/common/test-plugin.h
@@ -84,6 +84,8 @@ main (int argc, char **argv)
 
        g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
 
+       gdk_set_allowed_backends ("x11");
+
         error = NULL;
         if (! gtk_init_with_args (&argc, &argv, SCHEMA_NAME, entries, NULL, &error)) {
                 fprintf (stderr, "%s\n", error->message);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]