aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 49eb63366..bd62191ad 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -734,6 +734,8 @@ empathy_account_settings_get_uint32 (EmpathyAccountSettings *settings,
guint32 ret;
v = empathy_account_settings_get (settings, param);
+ if (v == NULL)
+ return 0;
switch G_VALUE_TYPE (v)
{