diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-08-12 23:40:00 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-08-12 23:40:00 +0800 |
commit | 180f450c052cfdf9450fdffdb0bb0f5f971f5a19 (patch) | |
tree | 649b823c7511d6b0fbccdc29cffe19b0be4b1bd3 | |
parent | 64401a64dc003842b144560f864a91263ef7cce4 (diff) | |
download | gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.tar gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.tar.gz gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.tar.bz2 gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.tar.lz gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.tar.xz gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.tar.zst gsoc2013-epiphany-180f450c052cfdf9450fdffdb0bb0f5f971f5a19.zip |
nsIPassword.h is always available. Fixes bug #350997.
2006-08-12 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/mozilla-embed-single.cpp:
nsIPassword.h is always available. Fixes bug #350997.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,3 +1,9 @@ +2006-08-12 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/mozilla-embed-single.cpp: + + nsIPassword.h is always available. Fixes bug #350997. + 2006-08-10 Christian Persch <chpe@cvs.gnome.org> * plugins/desktop-file/plugin.cpp: diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 4c2786632..3d23a6b46 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -44,6 +44,7 @@ #include <nsIFile.h> #include <nsIIOService.h> #include <nsILocalFile.h> +#include <nsIPassword.h> #include <nsIPasswordManager.h> #include <nsIPermission.h> #include <nsIPermissionManager.h> @@ -60,10 +61,6 @@ #include <nsIX509CertDB.h> #endif -#ifdef HAVE_NSIPASSWORD_H -#include <nsIPassword.h> -#endif - #ifdef ALLOW_PRIVATE_API #include <nsICacheService.h> #include <nsIFontEnumerator.h> @@ -879,9 +876,7 @@ impl_list_passwords (EphyPasswordManager *manager) { GList *passwords = NULL; -#ifdef HAVE_NSIPASSWORD_H nsresult rv; - nsCOMPtr<nsIPasswordManager> passwordManager = do_GetService (NS_PASSWORDMANAGER_CONTRACTID); if (!passwordManager) return NULL; @@ -933,7 +928,6 @@ impl_list_passwords (EphyPasswordManager *manager) passwords = g_list_prepend (passwords, p); } -#endif return passwords; } |