diff options
author | Ray Strode <rstrode@redhat.com> | 2023-02-20 14:30:24 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2023-02-22 15:02:19 -0500 |
commit | 820b62c1a29340dd0aecb8460f9aec5185516c07 (patch) | |
tree | 11ab395efcdec420a281e3849ce04cc5146c6a7b | |
parent | f9dd22c453119a46d81614ff1cb2b4e88aba4e70 (diff) | |
download | gnome-online-accounts-820b62c1a29340dd0aecb8460f9aec5185516c07.tar.gz |
goakerberosidentity: Ensure properties are updated in a timely fashion
At the moment property notifications of identity objects are deferred
to a lower priority idle handler.
This is suboptimal because it means there can be a bit of a delay
updating the status of, e.g., IsSignedIn, over the bus.
This commit changes the notification to queue at normal priority.
-rw-r--r-- | src/goaidentity/goakerberosidentity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/goaidentity/goakerberosidentity.c b/src/goaidentity/goakerberosidentity.c index 20add72..de646d5 100644 --- a/src/goaidentity/goakerberosidentity.c +++ b/src/goaidentity/goakerberosidentity.c @@ -576,7 +576,7 @@ queue_notify (GoaKerberosIdentity *self, request->idle_id = idle_id; request->property_name = property_name; - *idle_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, + *idle_id = g_idle_add_full (G_PRIORITY_DEFAULT, (GSourceFunc) on_notify_queued, request, |