diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-05-29 21:59:58 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-05-29 21:59:58 +0800 |
commit | f963fa021418ba56b35b54cf4ac286a68e812f6c (patch) | |
tree | 1018a0e694823e1482e665b1864055400e8cba61 /embed/mozilla | |
parent | 57c1328225d838b04a778f9aa33205e3e5e2eac8 (diff) | |
download | gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.tar gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.tar.gz gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.tar.bz2 gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.tar.lz gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.tar.xz gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.tar.zst gsoc2013-epiphany-f963fa021418ba56b35b54cf4ac286a68e812f6c.zip |
Fix for mozilla API change (ported from galeon).
2004-05-29 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/GtkNSSKeyPairDialogs.cpp:
Fix for mozilla API change (ported from galeon).
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/GtkNSSKeyPairDialogs.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp index 67b546b6b..b32f8bd0d 100644 --- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp +++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp @@ -91,6 +91,9 @@ public: NS_DECL_ISUPPORTS NS_DECL_NSIDOMWINDOWINTERNAL NS_DECL_NSIDOMWINDOW +#if MOZILLA_SNAPSHOT >= 19 + NS_DECL_NSIDOMWINDOW2 +#endif KeyPairHelperWindow(); virtual ~KeyPairHelperWindow(); @@ -98,7 +101,11 @@ public: gboolean close_called; }; +#if MOZILLA_SNAPSHOT >= 19 +NS_IMPL_ISUPPORTS3(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow, nsIDOMWindow2) +#else NS_IMPL_ISUPPORTS2(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow) +#endif KeyPairHelperWindow::KeyPairHelperWindow() { @@ -229,7 +236,7 @@ GtkNSSKeyPairDialogs::DisplayGeneratingKeypairInfo (nsIInterfaceRequestor *ctx, * that arn't needed for our purposes *************************************************************/ -#define MOZ_NOT_IMPLEMENTED { g_warning ("not implemented: " G_STRLOC); \ +#define MOZ_NOT_IMPLEMENTED { g_warning ("not implemented: %s", G_STRLOC); \ return NS_ERROR_NOT_IMPLEMENTED; } KeyPairHelperWindow::~KeyPairHelperWindow() @@ -242,6 +249,13 @@ NS_IMETHODIMP KeyPairHelperWindow::GetWindow(nsIDOMWindowInternal * *aWindow) MOZ_NOT_IMPLEMENTED } +#if MOZILLA_SNAPSHOT >= 19 +NS_IMETHODIMP KeyPairHelperWindow::GetWindowRoot(nsIDOMEventTarget * *aEvent) +{ + MOZ_NOT_IMPLEMENTED +} +#endif + /* readonly attribute nsIDOMWindowInternal self; */ NS_IMETHODIMP KeyPairHelperWindow::GetSelf(nsIDOMWindowInternal * *aSelf) { |