diff options
author | monsta <[email protected]> | 2016-01-21 15:12:44 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 15:12:44 +0300 |
commit | 2d7ff68afb228f3a8d34f227c68f9a9b743fb915 (patch) | |
tree | ae0879b59451866d8b211c92dd7004caf669059d | |
parent | ac2302ed641397ca0087045f09f97068a4cf2848 (diff) | |
download | mate-screensaver-2d7ff68afb228f3a8d34f227c68f9a9b743fb915.tar.bz2 mate-screensaver-2d7ff68afb228f3a8d34f227c68f9a9b743fb915.tar.xz |
drop defines for ancient dbus version
-rw-r--r-- | src/gs-listener-dbus.c | 6 | ||||
-rw-r--r-- | src/mate-screensaver-command.c | 5 |
2 files changed, 0 insertions, 11 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); diff --git a/src/mate-screensaver-command.c b/src/mate-screensaver-command.c index d4f7657..11feb8b 100644 --- a/src/mate-screensaver-command.c +++ b/src/mate-screensaver-command.c @@ -37,11 +37,6 @@ #define GS_PATH "/org/mate/ScreenSaver" #define GS_INTERFACE "org.mate.ScreenSaver" -/* 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) -#endif - static gboolean do_quit = FALSE; static gboolean do_lock = FALSE; static gboolean do_cycle = FALSE; |