aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-theme-adium.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index fb6ff0ef9..9e5ff73af 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -202,7 +202,9 @@ theme_adium_load (EmpathyThemeAdium *theme)
g_string_append (string, ""); /* We don't want header */
g_string_append (string, strv[i++]);
/* FIXME: We should replace adium %macros% in footer */
- g_string_append (string, footer_html);
+ if (footer_html) {
+ g_string_append (string, footer_html);
+ }
g_string_append (string, strv[i++]);
priv->template_html = g_string_free (string, FALSE);