diff options
-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; |