From 4174547fb3fcc5d9447b20728a3fb086cf90b9e0 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 22 Aug 2009 17:31:15 +0100 Subject: If the parameter wasn't known return NULL for the dbus signature --- libempathy/empathy-account-settings.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy') 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; } -- cgit v1.2.3