summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2016-04-24 20:53:12 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2016-05-09 08:37:32 -0500
commit0cbd04fda4c13c4fdb0241c9f067ddc5f3aa7386 (patch)
tree14708c2c2bf58aca7f8bb048e614903eb04d3f56 /lib
parentbc193027acedbb1599ad8d2a919d86b9103b7b5f (diff)
downloadepiphany-0cbd04fda4c13c4fdb0241c9f067ddc5f3aa7386.tar.gz
snapshot-service: Stop using const time_t
We don't use const in C except for strings. And certainly not for pass-by-value. https://bugzilla.gnome.org/show_bug.cgi?id=765863
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-snapshot-service.c8
-rw-r--r--lib/ephy-snapshot-service.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c
index df9ddcc08..fd551b49d 100644
--- a/lib/ephy-snapshot-service.c
+++ b/lib/ephy-snapshot-service.c
@@ -520,7 +520,7 @@ get_snapshot_for_url_thread (GTask *task,
void
ephy_snapshot_service_get_snapshot_for_url_async (EphySnapshotService *service,
const char *url,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -634,7 +634,7 @@ ensure_snapshot_freshness_for_web_view (EphySnapshotService *service,
void
ephy_snapshot_service_get_snapshot_async (EphySnapshotService *service,
WebKitWebView *web_view,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -837,7 +837,7 @@ get_snapshot_path_for_url_thread (GTask *task,
void
ephy_snapshot_service_get_snapshot_path_for_url_async (EphySnapshotService *service,
const char *url,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -894,7 +894,7 @@ got_snapshot_path_for_url (EphySnapshotService *service,
void
ephy_snapshot_service_get_snapshot_path_async (EphySnapshotService *service,
WebKitWebView *web_view,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
diff --git a/lib/ephy-snapshot-service.h b/lib/ephy-snapshot-service.h
index e454e21f5..1217427cf 100644
--- a/lib/ephy-snapshot-service.h
+++ b/lib/ephy-snapshot-service.h
@@ -48,7 +48,7 @@ EphySnapshotService *ephy_snapshot_service_get_default (void);
void ephy_snapshot_service_get_snapshot_for_url_async (EphySnapshotService *service,
const char *url,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
@@ -60,7 +60,7 @@ GdkPixbuf *ephy_snapshot_service_get_snapshot_for_url_finish (EphySnap
void ephy_snapshot_service_get_snapshot_async (EphySnapshotService *service,
WebKitWebView *web_view,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
@@ -87,7 +87,7 @@ const char *ephy_snapshot_service_lookup_snapshot_path (EphySnap
void ephy_snapshot_service_get_snapshot_path_for_url_async (EphySnapshotService *service,
const char *url,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
@@ -96,7 +96,7 @@ char *ephy_snapshot_service_get_snapshot_path_for_url_finish (EphySnap
GError **error);
void ephy_snapshot_service_get_snapshot_path_async (EphySnapshotService *service,
WebKitWebView *web_view,
- const time_t mtime,
+ time_t mtime,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);