[gnome-settings-daemon] orientation: Update for XRandR D-Bus name change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] orientation: Update for XRandR D-Bus name change
- Date: Wed, 19 Dec 2012 16:20:58 +0000 (UTC)
commit 5d3ee33f32d0fd7c20cae67530da2507beac36d8
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 19 16:35:35 2012 +0100
orientation: Update for XRandR D-Bus name change
plugins/orientation/gsd-orientation-manager.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c
index 93f2214..8ae610c 100644
--- a/plugins/orientation/gsd-orientation-manager.c
+++ b/plugins/orientation/gsd-orientation-manager.c
@@ -33,6 +33,7 @@
#include <libgnome-desktop/gnome-rr.h>
#include "gsd-input-helper.h"
+#include "gnome-settings-plugin.h"
#include "gnome-settings-profile.h"
#include "gsd-orientation-manager.h"
@@ -69,7 +70,6 @@ struct GsdOrientationManagerPrivate
#define CONF_SCHEMA "org.gnome.settings-daemon.peripherals.touchscreen"
#define ORIENTATION_LOCK_KEY "orientation-lock"
-#define GSD_DBUS_PATH "/org/gnome/SettingsDaemon"
#define GSD_ORIENTATION_DBUS_PATH GSD_DBUS_PATH "/Orientation"
static const gchar introspection_xml[] =
@@ -361,9 +361,9 @@ on_bus_gotten (GObject *source_object,
g_dbus_proxy_new (manager->priv->connection,
G_DBUS_PROXY_FLAGS_NONE,
NULL,
- "org.gnome.SettingsDaemon",
- "/org/gnome/SettingsDaemon/XRANDR",
- "org.gnome.SettingsDaemon.XRANDR_2",
+ GSD_DBUS_NAME ".XRANDR",
+ GSD_DBUS_PATH "/XRANDR",
+ GSD_DBUS_BASE_INTERFACE ".XRANDR_2",
NULL,
(GAsyncReadyCallback) xrandr_ready_cb,
manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]