aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-dbus.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-01-03 21:09:07 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-01-03 21:09:07 +0800
commit440c60d5ce97f899426a8a12700277f8c06d11db (patch)
tree709dc45bbb9bd400443a2cbe86a9cdea72862251 /src/ephy-dbus.c
parentbcd62404452fbf9499f24bffe6adf4280ac74237 (diff)
downloadgsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.tar
gsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.tar.gz
gsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.tar.bz2
gsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.tar.lz
gsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.tar.xz
gsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.tar.zst
gsoc2013-epiphany-440c60d5ce97f899426a8a12700277f8c06d11db.zip
Fix compilation with DBUS 0.6 (DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
2006-01-03 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus): Fix compilation with DBUS 0.6 (DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT constant removed).
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,