aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-profile-migrator.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-13 17:02:09 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-03-13 18:33:41 +0800
commit637e046e0666576c71d1efa116d8148450b35db6 (patch)
treef83df81046290bbe1cb314bcde95ef2899e21289 /lib/ephy-profile-migrator.c
parentf4ed0fb98f033727eb22f62ddb3ba60424c8cc91 (diff)
downloadgsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.tar
gsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.tar.gz
gsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.tar.bz2
gsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.tar.lz
gsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.tar.xz
gsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.tar.zst
gsoc2013-epiphany-637e046e0666576c71d1efa116d8148450b35db6.zip
ephy-history-service: make the async API cancellable
The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
Diffstat (limited to 'lib/ephy-profile-migrator.c')
-rw-r--r--lib/ephy-profile-migrator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c
index 55fa8a2f8..f7a34069a 100644
--- a/lib/ephy-profile-migrator.c
+++ b/lib/ephy-profile-migrator.c
@@ -594,7 +594,7 @@ migrate_history ()
g_input_stream_close (G_INPUT_STREAM (input), NULL, NULL);
g_object_unref (input);
- ephy_history_service_add_visits (history_service, parse_data.visits, (EphyHistoryJobCallback)visit_cb, NULL);
+ ephy_history_service_add_visits (history_service, parse_data.visits, NULL, (EphyHistoryJobCallback)visit_cb, NULL);
ephy_history_page_visit_list_free (parse_data.visits);
while (!all_done)