]> git.0d.be Git - empathy.git/commitdiff
Fix warning if theme don't have footer_html
authorXavier Claessens <xclaesse@gmail.com>
Sun, 21 Jun 2009 09:28:29 +0000 (11:28 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Mon, 22 Jun 2009 05:27:37 +0000 (07:27 +0200)
libempathy-gtk/empathy-theme-adium.c

index fb6ff0ef9768b91bf48ee45124c94bad06518109..9e5ff73af879f0138f2b3fd6d5123a32d2bf92c2 100644 (file)
@@ -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);