summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2023-01-30 23:12:02 +0000
committerRay Strode <halfline@gmail.com>2023-03-05 15:50:26 +0000
commit8867860f72368eaa6d1934bd912a0e3a34b0e7c6 (patch)
treecec9c037568e7eef291c2c9ec44587eadb894f85
parentafae5e55c3f0f4804199b07e5ce722628e09f9d9 (diff)
downloadgnome-session-8867860f72368eaa6d1934bd912a0e3a34b0e7c6.tar.gz
dbus-client: Add G_PARAM_EXPLICIT_NOTIFY
To avoid duplicate change notifications from the `GsmDBusClient` properties. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--gnome-session/gsm-dbus-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-session/gsm-dbus-client.c b/gnome-session/gsm-dbus-client.c
index 28e1b7fe..7f79232d 100644
--- a/gnome-session/gsm-dbus-client.c
+++ b/gnome-session/gsm-dbus-client.c
@@ -419,7 +419,7 @@ gsm_dbus_client_class_init (GsmDBusClientClass *klass)
"bus-name",
"bus-name",
NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, G_N_ELEMENTS (props), props);
}