aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-03-14 22:59:12 +0800
committerChristian Persch <chpe@src.gnome.org>2008-03-14 22:59:12 +0800
commit857bd1e30ed30708dbb5b8d30a80bb438d048d15 (patch)
treef628c3c7ddc80e52fb67d12bc429dbf83b2c8e11 /embed
parent7232daf06e51edf6781de26c6d8fd308fa70a55f (diff)
downloadgsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.tar
gsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.tar.gz
gsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.tar.bz2
gsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.tar.lz
gsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.tar.xz
gsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.tar.zst
gsoc2013-epiphany-857bd1e30ed30708dbb5b8d30a80bb438d048d15.zip
Make this inclusion conditionally, since we don't use our directory provider on xr 1.9.
svn path=/trunk/; revision=8105
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 2a0846c35..4665917e7 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -89,7 +89,6 @@
#include "mozilla-notifiers.h"
#include "EphyBrowser.h"
-#include "EphyDirectoryProvider.h"
#include "EphySingle.h"
#include "EphyUtils.h"
#include "MozRegisterComponents.h"
@@ -107,6 +106,10 @@
#define MOZILLA_EMBED_SINGLE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), MOZILLA_TYPE_EMBED_SINGLE, MozillaEmbedSinglePrivate))
+#ifndef HAVE_GECKO_1_9
+#include "EphyDirectoryProvider.h"
+#endif /* HAVE_GECKO_1_9 */;
+
struct MozillaEmbedSinglePrivate
{
char *user_prefs;