[libsecret] Don't dispose SecretItem proxies when they go away
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret] Don't dispose SecretItem proxies when they go away
- Date: Wed, 27 Jun 2012 14:44:37 +0000 (UTC)
commit f64cf14f412cc58dd636d285785d040e7709c555
Author: Stef Walter <stefw gnome org>
Date: Wed Jun 27 16:42:04 2012 +0200
Don't dispose SecretItem proxies when they go away
* This is strange behavior and causes unexpected results
in calling programs
library/secret-item.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/library/secret-item.c b/library/secret-item.c
index d0fa861..1b8a9fc 100644
--- a/library/secret-item.c
+++ b/library/secret-item.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]