Author: abrander
Date: 2009-12-31 02:21:59 +0100 (Thu, 31 Dec 2009)
New Revision: 2935

Modified:
   branches/rawstudio-ng-color/librawstudio/rs-tiff.c
   branches/rawstudio-ng-color/librawstudio/rs-tiff.h
Log:
Added rs_tiff_get_filename().

Modified: branches/rawstudio-ng-color/librawstudio/rs-tiff.c
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-tiff.c  2009-12-31 01:12:07 UTC 
(rev 2934)
+++ branches/rawstudio-ng-color/librawstudio/rs-tiff.c  2009-12-31 01:21:59 UTC 
(rev 2935)
@@ -153,6 +153,14 @@
        return g_object_new(RS_TYPE_TIFF, "filename", filename, NULL);
 }
 
+const gchar *
+rs_tiff_get_filename(RSTiff *tiff)
+{
+       g_assert(RS_IS_TIFF(tiff));
+
+       return tiff->filename;
+}
+
 RSTiffIfdEntry *
 rs_tiff_get_ifd_entry(RSTiff *tiff, guint ifd_num, gushort tag)
 {

Modified: branches/rawstudio-ng-color/librawstudio/rs-tiff.h
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-tiff.h  2009-12-31 01:12:07 UTC 
(rev 2934)
+++ branches/rawstudio-ng-color/librawstudio/rs-tiff.h  2009-12-31 01:21:59 UTC 
(rev 2935)
@@ -53,6 +53,9 @@
 
 RSTiff *rs_tiff_new_from_file(const gchar *filename);
 
+const gchar *
+rs_tiff_get_filename(RSTiff *tiff);
+
 RSTiffIfdEntry *
 rs_tiff_get_ifd_entry(RSTiff *tiff, guint ifd_num, gushort tag);
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to