]> git.street.me.uk Git - andy/viking.git/blobdiff - src/geotag_exif.c
Merge commit 'ToolbarConfig'
[andy/viking.git] / src / geotag_exif.c
index 542e12c2809e5d92861721f08bce4b0e65fb0b22..f5c5a0f2043d41eddff078f12dc6bd37d6f584dc 100644 (file)
@@ -353,15 +353,6 @@ gchar* a_geotag_get_exif_date_from_file ( const gchar *filename, gboolean *has_G
        if ( !ed )
                return datetime;
 
-       // Also allows us to remember what directory we where using
-       gchar *dir = g_path_get_dirname ( filename );
-       if ( dir ) {
-               if ( g_chdir ( dir ) ) {
-                       g_warning ( "Could not change directory to %s", dir );
-               }
-               g_free (dir);
-       }
-
        gchar str[128];
        ExifEntry *ee;