Don't continue initialization of SecretService if failed

* Don't open session or load collections on SecretService
   if the first part of the initialization failed
This commit is contained in:
Stef Walter 2012-07-05 15:40:57 +02:00
parent fc0549d2ab
commit 6f4a53f08b

View File

@ -592,10 +592,9 @@ on_init_base (GObject *source,
g_simple_async_result_take_error (res, error);
g_simple_async_result_complete (res);
} else {
service_ensure_for_flags_async (self, self->pv->init_flags, res);
}
service_ensure_for_flags_async (self, self->pv->init_flags, res);
g_object_unref (res);
}