[Xfce4-commits] [apps/xfce4-screensaver] 235/425: drop defines for ancient dbus version

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:51:22 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 2d7ff68afb228f3a8d34f227c68f9a9b743fb915
Author: monsta <monsta at inbox.ru>
Date:   Thu Jan 21 15:12:44 2016 +0300

    drop defines for ancient dbus version
---
 src/gs-listener-dbus.c         | 6 ------
 src/mate-screensaver-command.c | 5 -----
 2 files changed, 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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list