summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-05-13 12:08:50 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-05-13 12:08:50 +0200
commitde1251bfa974fdee41877da5bd1d477162adf084 (patch)
treeb9e72e621d1d392b9cca301534c5093fd6378f85 /plugins
parent67364f59c4d0b2260b2380b0f84ef6be3a10c598 (diff)
downloadlibuca-de1251bfa974fdee41877da5bd1d477162adf084.tar.gz
libuca-de1251bfa974fdee41877da5bd1d477162adf084.tar.bz2
libuca-de1251bfa974fdee41877da5bd1d477162adf084.tar.xz
libuca-de1251bfa974fdee41877da5bd1d477162adf084.zip
file: read complete filename path
Diffstat (limited to 'plugins')
-rw-r--r--plugins/file/uca-file-camera.c3
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);