summaryrefslogtreecommitdiffstats
path: root/core/metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/metadata.cpp')
-rw-r--r--core/metadata.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/metadata.cpp b/core/metadata.cpp
index bf4bfcb90..ca72cecb4 100644
--- a/core/metadata.cpp
+++ b/core/metadata.cpp
@@ -98,12 +98,3 @@ extern "C" timestamp_t picture_get_timestamp(const char *filename)
get_metadata(filename, &data);
return data.timestamp;
}
-
-extern "C" void picture_load_exif_data(struct picture *p)
-{
- struct metadata data;
- if (get_metadata(p->filename, &data) == MEDIATYPE_IO_ERROR)
- return;
- p->longitude = data.longitude;
- p->latitude = data.latitude;
-}