[empathy: 17/27] keyring: allow set and delete password to have NULL callbacks
- From: Jonny Lamb <jonnylamb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 17/27] keyring: allow set and delete password to have NULL callbacks
- Date: Tue, 7 Dec 2010 11:57:26 +0000 (UTC)
commit 66f79bec1ec6b59d362324fbfdf0335e60c1d8e6
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Mon Dec 6 12:28:13 2010 +0000
keyring: allow set and delete password to have NULL callbacks
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
libempathy/empathy-keyring.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index 55ddd1f..f3d523e 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -145,7 +145,6 @@ empathy_keyring_set_password_async (TpAccount *account,
g_return_if_fail (TP_IS_ACCOUNT (account));
g_return_if_fail (password != NULL);
- g_return_if_fail (callback != NULL);
simple = g_simple_async_result_new (G_OBJECT (account), callback,
user_data, empathy_keyring_set_password_async);
@@ -243,7 +242,6 @@ empathy_keyring_delete_password_async (TpAccount *account,
const gchar *account_id;
g_return_if_fail (TP_IS_ACCOUNT (account));
- g_return_if_fail (callback != NULL);
simple = g_simple_async_result_new (G_OBJECT (account), callback,
user_data, empathy_keyring_delete_password_async);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]