[gnome-settings-daemon] Restrict GTK to use the X11 backend
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Restrict GTK to use the X11 backend
- Date: Tue, 20 Aug 2013 17:49:44 +0000 (UTC)
commit 44950095ff94ea570323473c28d713022ae2345c
Author: Giovanni Campagna <gcampagn redhat com>
Date: Tue Aug 20 18:25:25 2013 +0200
Restrict GTK to use the X11 backend
We're working actively to reduce the dependency on x11, but for
now this is a hard requirement.
https://bugzilla.gnome.org/show_bug.cgi?id=706419
gnome-settings-daemon/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 0037a3f..746c870 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -449,6 +449,8 @@ main (int argc, char *argv[])
parse_args (&argc, &argv);
+ gdk_set_allowed_backends ("x11");
+
gnome_settings_profile_start ("opening gtk display");
if (! gtk_init_check (NULL, NULL)) {
g_warning ("Unable to initialize GTK+");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]