aboutsummaryrefslogtreecommitdiffstats
path: root/lib/history/ephy-history-service.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-06 00:04:37 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:45 +0800
commit7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203 (patch)
tree3c365fe5a825c86389581b9b08cba151b37721d0 /lib/history/ephy-history-service.c
parent9666dba09d79cd88777e9066dbdb2ca5b5e7588f (diff)
downloadgsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.tar
gsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.tar.gz
gsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.tar.bz2
gsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.tar.lz
gsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.tar.xz
gsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.tar.zst
gsoc2013-epiphany-7c6abe5cb07313cf8cd57d34c8fc8d26dfcf1203.zip
Rename ephy_history_service_add_page to ephy_history_service_visit_url
Fits much better with the naming model in that class.
Diffstat (limited to 'lib/history/ephy-history-service.c')
-rw-r--r--lib/history/ephy-history-service.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index b8bd2c26b..0677bfbe8 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -738,11 +738,14 @@ ephy_history_service_find_urls (EphyHistoryService *self,
}
void
-ephy_history_service_add_page (EphyHistoryService *self,
- const char *url)
+ephy_history_service_visit_url (EphyHistoryService *self,
+ const char *url)
{
EphyHistoryPageVisit *visit;
+ g_return_if_fail (EPHY_IS_HISTORY_SERVICE (self));
+ g_return_if_fail (url != NULL);
+
visit = ephy_history_page_visit_new (url,
time (NULL),
EPHY_PAGE_VISIT_TYPED);