diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-06-21 17:28:29 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-06-22 13:27:37 +0800 |
commit | 24f46af7642e8e2d0b7fa737d0fbb64ff394b437 (patch) | |
tree | e16efe3030cae0f96f0a3f0e5baa15a083dd59fc /libempathy-gtk/empathy-theme-adium.c | |
parent | 4a119839567ba66889b222fac4b87627863a218a (diff) | |
download | gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.tar gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.tar.gz gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.tar.bz2 gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.tar.lz gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.tar.xz gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.tar.zst gsoc2013-empathy-24f46af7642e8e2d0b7fa737d0fbb64ff394b437.zip |
Fix warning if theme don't have footer_html
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 4 |
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); |