mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-03 02:28:53 +00:00
Notify the 'items' and 'collections' properties when udpated
* When SecretCollection updates its 'items' property or SecretService 'collections' property notify that these have been changed.
This commit is contained in:
parent
fda131178a
commit
52d455f673
@ -241,6 +241,7 @@ collection_update_items (SecretCollection *self,
|
||||
g_mutex_unlock (&self->pv->mutex);
|
||||
|
||||
g_hash_table_unref (previous);
|
||||
g_object_notify (G_OBJECT (self), "items");
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
|
@ -1316,6 +1316,8 @@ service_update_collections (SecretService *self,
|
||||
|
||||
if (previous != NULL)
|
||||
g_hash_table_unref (previous);
|
||||
|
||||
g_object_notify (G_OBJECT (self), "collections");
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user