aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-16 20:42:58 -0500
committerTed Gould <ted@gould.cx>2010-03-16 20:42:58 -0500
commit1a451a7dbf5eed2b4ea8fd1e221bac036c3b9d4b (patch)
tree406a9bde8045337ba2100393e5048c6a1effd9ea
parent9d36c2090992551a961005bf359cdab739c8beed (diff)
downloadayatana-indicator-session-1a451a7dbf5eed2b4ea8fd1e221bac036c3b9d4b.tar.gz
ayatana-indicator-session-1a451a7dbf5eed2b4ea8fd1e221bac036c3b9d4b.tar.bz2
ayatana-indicator-session-1a451a7dbf5eed2b4ea8fd1e221bac036c3b9d4b.zip
Building a proxy to the local display factory
-rw-r--r--src/users-service-dbus.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/users-service-dbus.c b/src/users-service-dbus.c
index 556af98..80ab5be 100644
--- a/src/users-service-dbus.c
+++ b/src/users-service-dbus.c
@@ -31,6 +31,7 @@
#include <dbus/dbus-glib-lowlevel.h>
#include "dbus-shared-names.h"
+#include "gdm-local-display-factory-client.h"
#include "users-service-dbus.h"
#include "users-service-client.h"
#include "users-service-marshal.h"
@@ -80,6 +81,7 @@ struct _UsersServiceDbusPrivate
DBusGConnection *system_bus;
DBusGProxy *gdm_proxy;
+ DBusGProxy *gdm_local_proxy;
DBusGProxy *ck_proxy;
DBusGProxy *seat_proxy;
DBusGProxy *session_proxy;
@@ -266,6 +268,11 @@ create_gdm_proxy (UsersServiceDbus *self)
G_CALLBACK (user_updated),
self,
NULL);
+
+ priv->gdm_local_proxy = dbus_g_proxy_new_for_name (priv->system_bus,
+ "org.gnome.DisplayManager",
+ "/org/gnome/DisplayManager/LocalDisplayFactory",
+ "org.gnome.DisplayManager.LocalDisplayFactory");
}
static void