summaryrefslogtreecommitdiff
path: root/src/gs-listener-dbus.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-21 15:12:44 +0300
committermonsta <[email protected]>2016-01-21 15:12:44 +0300
commit2d7ff68afb228f3a8d34f227c68f9a9b743fb915 (patch)
treeae0879b59451866d8b211c92dd7004caf669059d /src/gs-listener-dbus.c
parentac2302ed641397ca0087045f09f97068a4cf2848 (diff)
downloadmate-screensaver-2d7ff68afb228f3a8d34f227c68f9a9b743fb915.tar.bz2
mate-screensaver-2d7ff68afb228f3a8d34f227c68f9a9b743fb915.tar.xz
drop defines for ancient dbus version
Diffstat (limited to 'src/gs-listener-dbus.c')
-rw-r--r--src/gs-listener-dbus.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 03bbb14..d398601 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -41,12 +41,6 @@
#include "gs-marshal.h"
#include "gs-debug.h"
-/* this is for dbus < 0.3 */
-#if ((DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR < 30))
-#define dbus_bus_name_has_owner(connection, name, err) dbus_bus_service_exists(connection, name, err)
-#define dbus_bus_request_name(connection, name, flags, err) dbus_bus_acquire_service(connection, name, flags, err)
-#endif
-
static void gs_listener_class_init (GSListenerClass *klass);
static void gs_listener_init (GSListener *listener);
static void gs_listener_finalize (GObject *object);