aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-07-06 00:54:21 +0800
committerDavyd Madeley <davyd@madeley.id.au>2009-07-06 00:54:21 +0800
commit162dbd9125538c310cbc91cc4bf19458fb79c47f (patch)
treed9d5431b3e01ffbad246b3d6cc99cdf997839271 /libempathy-gtk
parent1732b56d4186e1e15275dadf6c8db0305398d36d (diff)
downloadgsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.tar
gsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.tar.gz
gsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.tar.bz2
gsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.tar.lz
gsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.tar.xz
gsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.tar.zst
gsoc2013-empathy-162dbd9125538c310cbc91cc4bf19458fb79c47f.zip
Don't check for Adium themes if Webkit isn't available
This was breaking compile with -Werror
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-theme-manager.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index 7a6d57ba5..fea2eca51 100644
--- a/libempathy-gtk/empathy-theme-manager.c
+++ b/libempathy-gtk/empathy-theme-manager.c
@@ -536,6 +536,7 @@ empathy_theme_manager_get_themes (void)
return themes;
}
+#ifdef HAVE_WEBKIT
static void
find_themes (GList **list, const gchar *dirpath)
{
@@ -566,10 +567,12 @@ find_themes (GList **list, const gchar *dirpath)
g_error_free (error);
}
}
+#endif /* HAVE_WEBKIT */
GList *
empathy_theme_manager_get_adium_themes (void)
{
+#ifdef HAVE_WEBKIT
GList *themes = NULL;
gchar *userpath = NULL;
const gchar *const *paths = NULL;
@@ -588,4 +591,7 @@ empathy_theme_manager_get_adium_themes (void)
}
return themes;
+#else
+ return NULL;
+#endif /* HAVE_WEBKIT */
}