[empathy] Fix warning if theme don't have footer_html
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Fix warning if theme don't have footer_html
- Date: Mon, 22 Jun 2009 01:46:30 -0400 (EDT)
commit 24f46af7642e8e2d0b7fa737d0fbb64ff394b437
Author: Xavier Claessens <xclaesse gmail com>
Date: Sun Jun 21 11:28:29 2009 +0200
Fix warning if theme don't have footer_html
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 fb6ff0e..9e5ff73 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]