summaryrefslogtreecommitdiff
path: root/lib/ephy-snapshot-service.h
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/ephy-snapshot-service.h
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/ephy-snapshot-service.h')
-rw-r--r--lib/ephy-snapshot-service.h8
1 files changed, 4 insertions, 4 deletions
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);