projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d66be2
)
do not process sidecar files in bar_gps
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 28 Jul 2009 22:14:26 +0000
(22:14 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 28 Jul 2009 22:14:26 +0000
(22:14 +0000)
patch by Colin Clark
src/bar_gps.c
patch
|
blob
|
history
diff --git
a/src/bar_gps.c
b/src/bar_gps.c
index
5cb36b2
..
c7c866d
100644
(file)
--- a/
src/bar_gps.c
+++ b/
src/bar_gps.c
@@
-227,7
+227,9
@@
static gboolean bar_pane_gps_create_markers_cb(gpointer data)
{
fd = work->data;
pgd->selection_list = g_list_remove(pgd->selection_list, work->data);
- if (fd != NULL)
+ /* If the file has a parent, it must be a sidecar file. Do not process sidecar files
+ */
+ if (fd != NULL && fd->parent == NULL)
{
latitude = metadata_read_GPS_coord(fd, "Xmp.exif.GPSLatitude", 1000);
longitude = metadata_read_GPS_coord(fd, "Xmp.exif.GPSLongitude", 1000);