diff options
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 6203c9117..0c90f6445 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -89,14 +89,11 @@ #include "mozilla-x509-cert.h" #include "EphyBrowser.h" +#include "EphyDirectoryProvider.h" #include "EphySingle.h" #include "EphyUtils.h" #include "MozRegisterComponents.h" -#ifdef HAVE_MOZILLA_TOOLKIT -#include "EphyDirectoryProvider.h" -#endif - #include "mozilla-embed-single.h" #define MOZILLA_PROFILE_DIR "/mozilla" @@ -604,12 +601,10 @@ impl_init (EphyEmbedSingle *esingle) gtk_moz_embed_set_comp_path (MOZILLA_HOME); #endif -#ifdef HAVE_MOZILLA_TOOLKIT nsCOMPtr<nsIDirectoryServiceProvider> dp = new EphyDirectoryProvider (); if (!dp) return FALSE; gtk_moz_embed_set_directory_service_provider (dp); -#endif /* Fire up the beast */ gtk_moz_embed_push_startup (); |