[gnome-shell] keyboard: fix D-Bus name acquisition flags to totally block Antler



commit 5adb5411fa3d587b44026afee788cc40726ab6f7
Author: Dan Winship <danw gnome org>
Date:   Thu Sep 22 15:45:21 2011 -0400

    keyboard: fix D-Bus name acquisition flags to totally block Antler
    
    We never want the antler keyboard to run if gnome-shell is running, so
    grab org.gnome.Caribou.Keyboard without the "allow replacement" flag.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659865

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 0c505e7..503f8a1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -120,7 +120,7 @@ shell_dbus_init (gboolean replace)
   /* ...and the on-screen keyboard service */
   if (!dbus_g_proxy_call (bus, "RequestName", &error,
                           G_TYPE_STRING, "org.gnome.Caribou.Keyboard",
-                          G_TYPE_UINT, DBUS_NAME_FLAG_REPLACE_EXISTING | request_name_flags,
+                          G_TYPE_UINT, DBUS_NAME_FLAG_REPLACE_EXISTING,
                           G_TYPE_INVALID,
                           G_TYPE_UINT, &request_name_result,
                           G_TYPE_INVALID))



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