diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2022-10-31 13:25:21 +0000 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2022-10-31 13:25:21 +0000 |
commit | 036271b5ead22c05444862781f750c6baaf0d21d (patch) | |
tree | 309301d5e26ee0395bc7fdd75af5a30b5d1cffa8 | |
parent | 07acae0773116c62dc9794394f020305cc4159b8 (diff) | |
download | gnome-online-accounts-036271b5ead22c05444862781f750c6baaf0d21d.tar.gz |
Revert "kerberos-identity: Ensure idles queued to main thread are property synchronized"
This reverts commit e30df2e435bbb5c9a1314b09d505a2df4230db51
-rw-r--r-- | src/goaidentity/goakerberosidentity.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/goaidentity/goakerberosidentity.c b/src/goaidentity/goakerberosidentity.c index 8eb6ba2..b72ce6a 100644 --- a/src/goaidentity/goakerberosidentity.c +++ b/src/goaidentity/goakerberosidentity.c @@ -520,10 +520,7 @@ typedef struct static void clear_idle_id (NotifyRequest *request) { - G_LOCK (identity_lock); *request->idle_id = 0; - G_UNLOCK (identity_lock); - g_object_unref (request->self); g_slice_free (NotifyRequest, request); } @@ -543,10 +540,8 @@ queue_notify (GoaKerberosIdentity *self, { NotifyRequest *request; - G_LOCK (identity_lock); if (*idle_id != 0) { - G_UNLOCK (identity_lock); return; } @@ -561,7 +556,6 @@ queue_notify (GoaKerberosIdentity *self, request, (GDestroyNotify) clear_idle_id); - G_UNLOCK (identity_lock); } static gboolean |