diff options
-rw-r--r-- | src/empathy-preferences.c | 7 |
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 |