From 80f5d332a5a531f8d5b96d9ea50f2384bf515324 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 18 Jul 2008 19:50:45 +0200 Subject: Add some #ifdef HAVE_WEBKIT --- src/empathy-preferences.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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 #include #include -#include #include #include #include +#ifdef HAVE_WEBKIT +#include +#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 -- cgit v1.2.3