aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-account-widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 0de4dc80f..375d6246d 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -694,6 +694,8 @@ account_widget_generic_format_param_name (const gchar *param_name)
gchar *p;
static GHashTable *translated_params = NULL;
+ g_return_val_if_fail (param_name != NULL, NULL);
+
if (G_UNLIKELY (translated_params == NULL))
translated_params = build_translated_params ();