aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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); */