aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2008-07-19 01:50:45 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-12 00:06:30 +0800
commit80f5d332a5a531f8d5b96d9ea50f2384bf515324 (patch)
treeafd62f3ebd31f844c1d2a4275916c54ef82521d5
parent9da5a48b5c7d8c47418b56776839ff7687ecd7f0 (diff)
downloadgsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.tar
gsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.tar.gz
gsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.tar.bz2
gsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.tar.lz
gsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.tar.xz
gsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.tar.zst
gsoc2013-empathy-80f5d332a5a531f8d5b96d9ea50f2384bf515324.zip
Add some #ifdef HAVE_WEBKIT
-rw-r--r--src/empathy-preferences.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 211ad5c07..cc8b4508b 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -34,11 +34,14 @@
#include <libempathy-gtk/empathy-conf.h>
#include <libempathy-gtk/empathy-ui-utils.h>
#include <libempathy-gtk/empathy-theme-manager.h>
-#include <libempathy-gtk/empathy-theme-adium.h>
#include <libempathy-gtk/empathy-spell.h>
#include <libempathy-gtk/empathy-contact-list-store.h>
#include <libempathy-gtk/empathy-gtk-enum-types.h>
+#ifdef HAVE_WEBKIT
+#include <libempathy-gtk/empathy-theme-adium.h>
+#endif
+
#include "empathy-preferences.h"
typedef struct {
@@ -948,11 +951,13 @@ static void
preferences_theme_adium_update_validity (EmpathyPreferences *preferences,
const gchar *path)
{
+#ifdef HAVE_WEBKIT
if (empathy_theme_adium_is_valid (path)) {
gtk_widget_hide (preferences->label_invalid_adium_theme);
} else {
gtk_widget_show (preferences->label_invalid_adium_theme);
}
+#endif
}
static void