mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
Don't dispose SecretItem proxies when they go away
* This is strange behavior and causes unexpected results in calling programs
This commit is contained in:
parent
738b11c14c
commit
f64cf14f41
@ -818,10 +818,8 @@ on_item_deleted (GObject *source,
|
||||
SecretItem *self = SECRET_ITEM (g_async_result_get_source_object (user_data));
|
||||
GError *error = NULL;
|
||||
|
||||
if (secret_service_delete_path_finish (SECRET_SERVICE (source), result, &error)) {
|
||||
if (secret_service_delete_path_finish (SECRET_SERVICE (source), result, &error))
|
||||
g_simple_async_result_set_op_res_gboolean (res, TRUE);
|
||||
g_object_run_dispose (G_OBJECT (self));
|
||||
}
|
||||
|
||||
if (error != NULL)
|
||||
g_simple_async_result_take_error (res, error);
|
||||
|
Loading…
Reference in New Issue
Block a user