diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-05-13 12:08:50 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-05-13 12:08:50 +0200 |
commit | de1251bfa974fdee41877da5bd1d477162adf084 (patch) | |
tree | b9e72e621d1d392b9cca301534c5093fd6378f85 /plugins/file | |
parent | 67364f59c4d0b2260b2380b0f84ef6be3a10c598 (diff) | |
download | uca-de1251bfa974fdee41877da5bd1d477162adf084.tar.gz uca-de1251bfa974fdee41877da5bd1d477162adf084.tar.bz2 uca-de1251bfa974fdee41877da5bd1d477162adf084.tar.xz uca-de1251bfa974fdee41877da5bd1d477162adf084.zip |
file: read complete filename path
Diffstat (limited to 'plugins/file')
-rw-r--r-- | plugins/file/uca-file-camera.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/file/uca-file-camera.c b/plugins/file/uca-file-camera.c index 632b8e8..0553194 100644 --- a/plugins/file/uca-file-camera.c +++ b/plugins/file/uca-file-camera.c @@ -74,7 +74,6 @@ read_tiff_meta_data (UcaFileCameraPrivate *priv, const gchar *fname) TIFFClose (file); } - static gboolean read_tiff_data (UcaFileCameraPrivate *priv, const gchar *fname, gpointer buffer) { @@ -137,7 +136,7 @@ update_fnames (UcaFileCameraPrivate *priv, GError **error) break; if (g_str_has_suffix (fname, ".tiff") || g_str_has_suffix (fname, ".tif")) - priv->fnames = g_list_append (priv->fnames, g_strdup (fname)); + priv->fnames = g_list_append (priv->fnames, g_build_filename (priv->path, fname, NULL)); } priv->fnames = g_list_sort (priv->fnames, (GCompareFunc) g_strcmp0); |