diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-03-13 17:02:09 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-03-13 18:33:41 +0800 |
commit | 637e046e0666576c71d1efa116d8148450b35db6 (patch) | |
tree | f83df81046290bbe1cb314bcde95ef2899e21289 /src/ephy-completion-model.c | |
parent | f4ed0fb98f033727eb22f62ddb3ba60424c8cc91 (diff) | |
download | gsoc2013-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 'src/ephy-completion-model.c')
-rw-r--r-- | src/ephy-completion-model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c index ea60c2a26..e3f25bda5 100644 --- a/src/ephy-completion-model.c +++ b/src/ephy-completion-model.c @@ -491,7 +491,7 @@ ephy_completion_model_update_for_string (EphyCompletionModel *model, ephy_history_service_find_urls (priv->history_service, 0, 0, MAX_COMPLETION_HISTORY_URLS, 0, - query, + query, NULL, (EphyHistoryJobCallback)query_completed_cb, user_data); } |