[gthumb] Use fd->name instead of file_name_from_path function



commit 02a43d02c8549973a8c2ccbbd1768464bbfbf8a6
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Wed May 6 16:26:13 2009 -0400

    Use fd->name instead of file_name_from_path function
---
 src/catalog-web-exporter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/catalog-web-exporter.c b/src/catalog-web-exporter.c
index 2a5393b..e17749f 100644
--- a/src/catalog-web-exporter.c
+++ b/src/catalog-web-exporter.c
@@ -174,7 +174,7 @@ image_data_new (FileData *file)
 	idata->src_file = file_data_ref (file);
 	idata->dest_filename = g_strconcat (zero_padded (img_counter++),
 					    "-",
-					    file_name_from_path (file->path),
+					    file->name,
 					    NULL);
 
 	idata->image = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]