diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-03-22 03:49:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-03-22 03:49:03 +0800 |
commit | 10093dee9948bfb14bca7228539e20a882c0fb38 (patch) | |
tree | e61aa5057a9f0ba77b1e46b46aab6ed789bf0388 /embed | |
parent | fc3b779f2b1d3f2b665a5deb2ec5c3e5fe2a720d (diff) | |
download | gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.tar gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.tar.gz gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.tar.bz2 gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.tar.lz gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.tar.xz gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.tar.zst gsoc2013-epiphany-10093dee9948bfb14bca7228539e20a882c0fb38.zip |
Oh the joys of mozilla API changes :P
2005-03-21 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
* embed/mozilla/ContentHandler.cpp:
Oh the joys of mozilla API changes :P
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index ef2e07b6b..d590905db 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -93,15 +93,26 @@ GContentHandler::~GContentHandler() NS_IMPL_ISUPPORTS1(GContentHandler, nsIHelperAppLauncherDialog) +#ifdef MOZ_NSIHELPERAPPLAUNCHERDIALOG_UNSIGNED +/* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext, in unsigned long aReason); */ +NS_IMETHODIMP +GContentHandler::Show (nsIHelperAppLauncher *aLauncher, + nsISupports *aContext, + PRUint32 aReason) +#else /* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext); */ -NS_IMETHODIMP GContentHandler::Show(nsIHelperAppLauncher *aLauncher, - nsISupports *aContext, - PRBool aForced) +NS_IMETHODIMP +GContentHandler::Show (nsIHelperAppLauncher *aLauncher, + nsISupports *aContext, + PRBool aForced) +#endif { nsresult rv; EphyEmbedSingle *single; gboolean handled = FALSE; + /* FIXME: handle aForced / aReason argument in some way? */ + mContext = aContext; mLauncher = aLauncher; rv = Init (); |