aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-dbus.c')
-rw-r--r--src/ephy-dbus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ephy-dbus.c b/src/ephy-dbus.c
index 2d3734137..1cbed58da 100644
--- a/src/ephy-dbus.c
+++ b/src/ephy-dbus.c
@@ -236,6 +236,11 @@ ephy_dbus_connect_to_session_bus (EphyDbus *ephy_dbus)
DBUS_PATH_DBUS,
DBUS_INTERFACE_DBUS);
+/* dbus 0.6 dependency */
+#ifndef DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
+#define DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT 0
+#endif
+
org_freedesktop_DBus_request_name (proxy,
DBUS_EPHY_SERVICE,
DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT,