diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-06-20 21:20:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-06-20 21:20:01 +0800 |
commit | d20f77073960f55dfa0aaabf7a5aeaebe736773a (patch) | |
tree | 3bb4ab5406bc98387e51e2c6eaa339c18c103c6f /embed/mozilla | |
parent | f64293d59e4e718e19a03654814d0bb3dd52b9c6 (diff) | |
download | gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.tar gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.tar.gz gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.tar.bz2 gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.tar.lz gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.tar.xz gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.tar.zst gsoc2013-epiphany-d20f77073960f55dfa0aaabf7a5aeaebe736773a.zip |
Remove implementation of GlobalHistory2::HidePage, it's really not used
2004-06-20 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/GlobalHistory.cpp:
Remove implementation of GlobalHistory2::HidePage, it's really not used
anyway in mozilla (history load listener is the only place, and it's
not build, not even updated for API changes)
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index 5ad61d660..8558dd05e 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -135,22 +135,7 @@ NS_IMETHODIMP MozGlobalHistory::SetPageTitle(nsIURI *aURI, const nsAString & aTi /* void hidePage (in nsIURI url); */ NS_IMETHODIMP MozGlobalHistory::HidePage(nsIURI *aURI) { - NS_ENSURE_ARG (aURI); - - nsresult rv; - nsCAutoString spec; - rv = aURI->GetSpec(spec); - NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE); - - EphyNode *page; - page = ephy_history_get_page (mGlobalHistory, spec.get()); - - if (page) - { - ephy_node_unref (page); - } - - return NS_OK; + return NS_ERROR_NOT_IMPLEMENTED; } #else |