diff options
-rw-r--r-- | embed/ephy-about-handler.c | 2 | ||||
-rw-r--r-- | lib/ephy-snapshot-service.c | 8 | ||||
-rw-r--r-- | lib/ephy-snapshot-service.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c index 791926e36..1cf9d49a0 100644 --- a/embed/ephy-about-handler.c +++ b/embed/ephy-about-handler.c @@ -507,7 +507,7 @@ history_service_query_urls_cb (EphyHistoryService *history, const char *snapshot; char *thumbnail_style = NULL; - snapshot = ephy_snapshot_service_lookup_snapshot_path (snapshot_service, url->url); + snapshot = ephy_snapshot_service_lookup_cached_snapshot_path (snapshot_service, url->url); if (!snapshot) { GetSnapshotPathAsyncData *data = g_new (GetSnapshotPathAsyncData, 1); diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c index b2f8a154f..85cbdfa2d 100644 --- a/lib/ephy-snapshot-service.c +++ b/lib/ephy-snapshot-service.c @@ -512,8 +512,8 @@ ephy_snapshot_service_get_default (void) } const char * -ephy_snapshot_service_lookup_snapshot_path (EphySnapshotService *service, - const char *url) +ephy_snapshot_service_lookup_cached_snapshot_path (EphySnapshotService *service, + const char *url) { SnapshotPathCachedData *data; @@ -624,7 +624,7 @@ ephy_snapshot_service_get_snapshot_path_for_url_async (EphySnapshotService *serv task = g_task_new (service, cancellable, callback, user_data); - path = ephy_snapshot_service_lookup_snapshot_path (service, url); + path = ephy_snapshot_service_lookup_cached_snapshot_path (service, url); if (path) { g_task_return_pointer (task, g_strdup (path), g_free); g_object_unref (task); @@ -684,7 +684,7 @@ ephy_snapshot_service_get_snapshot_path_async (EphySnapshotService *service, task = g_task_new (service, cancellable, callback, user_data); uri = webkit_web_view_get_uri (web_view); - path = ephy_snapshot_service_lookup_snapshot_path (service, uri); + path = ephy_snapshot_service_lookup_cached_snapshot_path (service, uri); if (path) { g_task_return_pointer (task, g_strdup (path), g_free); diff --git a/lib/ephy-snapshot-service.h b/lib/ephy-snapshot-service.h index c69f64dfa..5194b333a 100644 --- a/lib/ephy-snapshot-service.h +++ b/lib/ephy-snapshot-service.h @@ -46,7 +46,7 @@ GQuark ephy_snapshot_service_error_quark (voi EphySnapshotService *ephy_snapshot_service_get_default (void); -const char *ephy_snapshot_service_lookup_snapshot_path (EphySnapshotService *service, +const char *ephy_snapshot_service_lookup_cached_snapshot_path (EphySnapshotService *service, const char *url); void ephy_snapshot_service_get_snapshot_path_for_url_async (EphySnapshotService *service, |