[empathy/mc5] If the parameter wasn't known return NULL for the dbus signature
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] If the parameter wasn't known return NULL for the dbus signature
- Date: Sat, 22 Aug 2009 18:55:04 +0000 (UTC)
commit 4174547fb3fcc5d9447b20728a3fb086cf90b9e0
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sat Aug 22 17:31:15 2009 +0100
If the parameter wasn't known return NULL for the dbus signature
libempathy/empathy-account-settings.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 6129570..f6c1af4 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]