aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2011-06-23 02:56:04 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-06-23 16:14:52 +0800
commit6b79054213ba3dd70298aa75e17c234aef2f09af (patch)
treebfc2d2205225ca40729c0ae75dd97f49dff4ddab /libempathy-gtk
parent955bea1f3654668ae91eed4aa2f32d79a87189cf (diff)
downloadgsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.tar
gsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.tar.gz
gsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.tar.bz2
gsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.tar.lz
gsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.tar.xz
gsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.tar.zst
gsoc2013-empathy-6b79054213ba3dd70298aa75e17c234aef2f09af.zip
Don't try to access adium theme when webkit support is disabled
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-theme-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index d50154b41..2a6c393f2 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;