aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2010-12-06 20:28:13 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2010-12-06 20:28:13 +0800
commit66f79bec1ec6b59d362324fbfdf0335e60c1d8e6 (patch)
tree0d569cc4522c5a1762559d8c12005b4d77b741df /libempathy
parent2c201cf276aa11b3ae1d1bedcf92eb29abf7f04d (diff)
downloadgsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.tar
gsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.tar.gz
gsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.tar.bz2
gsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.tar.lz
gsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.tar.xz
gsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.tar.zst
gsoc2013-empathy-66f79bec1ec6b59d362324fbfdf0335e60c1d8e6.zip
keyring: allow set and delete password to have NULL callbacks
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-keyring.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index 55ddd1f69..f3d523e54 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);