aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-20 21:18:41 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-20 21:18:41 +0800
commit98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41 (patch)
tree67c1a7bd5c2e1d81a42b957b13bf148286478a0b
parent2e4e7e1b752f261f9cd73f9d3d4b7ae346acde8e (diff)
downloadgsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.tar
gsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.tar.gz
gsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.tar.bz2
gsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.tar.lz
gsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.tar.xz
gsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.tar.zst
gsoc2013-epiphany-98d14ff619bdb0ad0b9be44fe7d9aee17e1cae41.zip
Remove implementation of ::HidePage again, it's really not used anyway in
2004-06-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Remove implementation of ::HidePage again, 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).
-rw-r--r--ChangeLog8
-rw-r--r--embed/mozilla/GlobalHistory.cpp15
2 files changed, 9 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index bf7be5ffd..a2327805a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,14 @@
* embed/mozilla/GlobalHistory.cpp:
+ Remove implementation of ::HidePage again, 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).
+
+2004-06-20 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/GlobalHistory.cpp:
+
Implement GlobalHistory2::HidePage, fixes bug #142143.
2004-06-20 Christian Persch <chpe@cvs.gnome.org>
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp
index 352527dae..6be4c2a37 100644
--- a/embed/mozilla/GlobalHistory.cpp
+++ b/embed/mozilla/GlobalHistory.cpp
@@ -129,20 +129,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);
-
- nsEmbedCString spec;
- aURI->GetSpec(spec);
-
- EphyNode *page;
- page = ephy_history_get_page (mGlobalHistory, spec.get());
-
- if (page)
- {
- ephy_node_unref (page);
- }
-
- return NS_OK;
+ return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removePage (in string aURL); */