diff options
author | Ray Strode <rstrode@redhat.com> | 2023-02-20 14:30:24 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@redhat.com> | 2023-02-23 14:48:36 -0600 |
commit | fc55b36d92171a24b31679c4cf216f585b9fe7cd (patch) | |
tree | e4987c3c449bc22cf535ff18922bfacf761ebb1c | |
parent | 6a87ad888352a8792f0cd592ea14a7f9d6911b27 (diff) | |
download | gnome-online-accounts-fc55b36d92171a24b31679c4cf216f585b9fe7cd.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 5374e8d..8e2e1e8 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, |