]> git.0d.be Git - empathy.git/commitdiff
Add some #ifdef HAVE_WEBKIT
authorXavier Claessens <xclaesse@gmail.com>
Fri, 18 Jul 2008 17:50:45 +0000 (19:50 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 16:06:30 +0000 (18:06 +0200)
src/empathy-preferences.c

index 211ad5c076fcbb4f8de26357bb3e575b2d344de1..cc8b4508bb661b7ea5de9fce64bde8b4134d9e80 100644 (file)
 #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