summaryrefslogtreecommitdiff
path: root/mate-session/gsm-systemd.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-28 17:06:07 +0800
committerXiaotian Wu <[email protected]>2023-10-03 18:44:26 +0800
commit7cba004dfcd621cfa193c389a01de11526c701d9 (patch)
treee9ee8a14e11f4dafde74c6cfc267da9d89b19870 /mate-session/gsm-systemd.c
parentaa8baa90d497a54410676190e784986e185a8745 (diff)
downloadmate-session-manager-7cba004dfcd621cfa193c389a01de11526c701d9.tar.bz2
mate-session-manager-7cba004dfcd621cfa193c389a01de11526c701d9.tar.xz
update
Diffstat (limited to 'mate-session/gsm-systemd.c')
-rw-r--r--mate-session/gsm-systemd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mate-session/gsm-systemd.c b/mate-session/gsm-systemd.c
index 74def27..7f7dde1 100644
--- a/mate-session/gsm-systemd.c
+++ b/mate-session/gsm-systemd.c
@@ -150,7 +150,7 @@ gsm_systemd_class_init (GsmSystemdClass *manager_class)
}
static DBusHandlerResult
-gsm_systemd_dbus_filter (DBusConnection *connection,
+gsm_systemd_dbus_filter (DBusConnection *connection G_GNUC_UNUSED,
DBusMessage *message,
void *user_data)
{
@@ -272,10 +272,10 @@ out:
}
static void
-gsm_systemd_on_name_owner_changed (DBusGProxy *bus_proxy,
+gsm_systemd_on_name_owner_changed (DBusGProxy *bus_proxy G_GNUC_UNUSED,
const char *name,
- const char *prev_owner,
- const char *new_owner,
+ const char *prev_owner G_GNUC_UNUSED,
+ const char *new_owner G_GNUC_UNUSED,
GsmSystemd *manager)
{
GsmSystemdPrivate *priv;
@@ -421,7 +421,7 @@ emit_stop_complete (GsmSystemd *manager,
}
gboolean
-gsm_systemd_is_last_session_for_user (GsmSystemd *manager)
+gsm_systemd_is_last_session_for_user (GsmSystemd *manager G_GNUC_UNUSED)
{
char **sessions = NULL;
char *session = NULL;