[empathy] Don't try to access adium theme when webkit support is disabled
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Don't try to access adium theme when webkit support is disabled
- Date: Thu, 23 Jun 2011 08:16:23 +0000 (UTC)
commit 6b79054213ba3dd70298aa75e17c234aef2f09af
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date: Wed Jun 22 20:56:04 2011 +0200
Don't try to access adium theme when webkit support is disabled
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine Perennou com>
libempathy-gtk/empathy-theme-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index d50154b..2a6c393 100644
--- a/libempathy-gtk/empathy-theme-manager.c
+++ b/libempathy-gtk/empathy-theme-manager.c
@@ -85,6 +85,7 @@ static gboolean
theme_manager_emit_changed_idle_cb (gpointer manager)
{
EmpathyThemeManagerPriv *priv = GET_PRIV (manager);
+#ifdef HAVE_WEBKIT
const gchar *adium_path = NULL;
if (priv->adium_data) {
@@ -93,6 +94,7 @@ theme_manager_emit_changed_idle_cb (gpointer manager)
DEBUG ("Emit theme-changed with: name='%s' adium_path='%s' "
"adium_variant='%s'", priv->name, adium_path,
priv->adium_variant);
+#endif /* HAVE_WEBKIT */
g_signal_emit (manager, signals[THEME_CHANGED], 0, NULL);
priv->emit_changed_idle = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]