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:
Stef Walter 2012-06-27 16:42:04 +02:00
parent 738b11c14c
commit f64cf14f41

View File

@ -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);