From 123d7ac67845d82c38b7dc98987ee5d6c62ad54d Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Thu, 20 Jun 2024 23:31:20 +0200 Subject: [PATCH 1/2] org.mate.ScreenSaver->org.freedesktop.ScreenSaver Signed-off-by: Oz Tiram --- src/gs-listener-dbus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c index 520926d4..3a9b02b5 100644 --- a/src/gs-listener-dbus.c +++ b/src/gs-listener-dbus.c @@ -51,9 +51,9 @@ static DBusHandlerResult gs_listener_message_handler (DBusConnection *connec DBusMessage *message, void *user_data); -#define GS_LISTENER_SERVICE "org.mate.ScreenSaver" -#define GS_LISTENER_PATH "/org/mate/ScreenSaver" -#define GS_LISTENER_INTERFACE "org.mate.ScreenSaver" +#define GS_LISTENER_SERVICE "org.freedesktop.ScreenSaver" +#define GS_LISTENER_PATH "/org/freedesktop/ScreenSaver" +#define GS_LISTENER_INTERFACE "org.freedesktop.ScreenSaver" /* systemd logind */ #define SYSTEMD_LOGIND_SERVICE "org.freedesktop.login1" @@ -1370,7 +1370,7 @@ do_introspect (DBusConnection *connection, /* ScreenSaver interface */ xml = g_string_append (xml, - " \n" + " \n" " \n" " \n" " \n" From 9030c30cae3a7f7c3f0471b3ee935746569fbfab Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Fri, 21 Jun 2024 21:24:47 +0200 Subject: [PATCH 2/2] Migrate mate-screensaver-command to org.freedesktop.Screensaver --- src/mate-screensaver-command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mate-screensaver-command.c b/src/mate-screensaver-command.c index a233ebe5..5dd7dd57 100644 --- a/src/mate-screensaver-command.c +++ b/src/mate-screensaver-command.c @@ -34,9 +34,9 @@ #include #include -#define GS_SERVICE "org.mate.ScreenSaver" -#define GS_PATH "/org/mate/ScreenSaver" -#define GS_INTERFACE "org.mate.ScreenSaver" +#define GS_SERVICE "org.freedesktop.ScreenSaver" +#define GS_PATH "/org/freedesktop/ScreenSaver" +#define GS_INTERFACE "org.freedesktop.ScreenSaver" static gboolean do_quit = FALSE; static gboolean do_lock = FALSE;