[empathy/gnome-2-34: 17/60] 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/gnome-2-34: 17/60] keyring: allow set and delete password to have NULL callbacks
- Date: Wed, 26 Jan 2011 14:38:05 +0000 (UTC)
commit bec9be034d439b51a5a81bbae54ce513e05d8cc3
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]