aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-settings.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-23 00:31:15 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-23 01:54:39 +0800
commit4174547fb3fcc5d9447b20728a3fb086cf90b9e0 (patch)
treefbb31854bf122aee0f09ca5cd5bafba267e94f52 /libempathy/empathy-account-settings.c
parentb72ead7076cd2ba308d32f0ae42fc50efc82bd51 (diff)
downloadgsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.tar
gsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.tar.gz
gsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.tar.bz2
gsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.tar.lz
gsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.tar.xz
gsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.tar.zst
gsoc2013-empathy-4174547fb3fcc5d9447b20728a3fb086cf90b9e0.zip
If the parameter wasn't known return NULL for the dbus signature
Diffstat (limited to 'libempathy/empathy-account-settings.c')
-rw-r--r--libempathy/empathy-account-settings.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 6129570c2..f6c1af42c 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -575,6 +575,9 @@ empathy_account_settings_get_dbus_signature (EmpathyAccountSettings *settings,
p = empathy_account_settings_get_tp_param (settings, param);
+ if (p == NULL)
+ return NULL;
+
return p->dbus_signature;
}