From bfbb91b6edcf90501a236fa98a66340b83798297 Mon Sep 17 00:00:00 2001 From: Xiaotian Wu Date: Mon, 2 Oct 2023 20:41:19 +0800 Subject: rfkill: change bus name to org.mate.SettingsDaemon --- plugins/media-keys/msd-media-keys-manager.c | 2 +- plugins/rfkill/msd-rfkill-manager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c index 9d25367..0aee95f 100644 --- a/plugins/media-keys/msd-media-keys-manager.c +++ b/plugins/media-keys/msd-media-keys-manager.c @@ -1525,7 +1525,7 @@ rfkill_appeared_cb (GDBusConnection *connection, g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION, 0, NULL, - "org.mate.SettingsDaemon.Rfkill", + "org.mate.SettingsDaemon", "/org/mate/SettingsDaemon/Rfkill", "org.mate.SettingsDaemon.Rfkill", manager->priv->rfkill_cancellable, diff --git a/plugins/rfkill/msd-rfkill-manager.c b/plugins/rfkill/msd-rfkill-manager.c index 397bb0e..252761d 100644 --- a/plugins/rfkill/msd-rfkill-manager.c +++ b/plugins/rfkill/msd-rfkill-manager.c @@ -491,7 +491,7 @@ on_bus_gotten (GObject *source_object, NULL); manager->priv->name_id = g_bus_own_name_on_connection (connection, - MSD_RFKILL_DBUS_NAME, + MSD_DBUS_NAME, G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, NULL, NULL, -- cgit v1.2.1