diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-06-04 18:45:55 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-06-04 18:45:55 +0200 |
| commit | b960b2a4579bf5cd25124191ff37c5ad30a529ff (patch) | |
| tree | 90a00c525ba7c667bd924bef593d36b6a34698d9 /src/generators.c | |
| parent | a894e2f163153553e5ac32a1f2600315971e13c4 (diff) | |
| download | cataract-b960b2a4579bf5cd25124191ff37c5ad30a529ff.tar.xz | |
Port EXIF table visibility switch to the new defines system
Diffstat (limited to 'src/generators.c')
| -rw-r--r-- | src/generators.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/generators.c b/src/generators.c index c27b2e5..168c5b0 100644 --- a/src/generators.c +++ b/src/generators.c @@ -883,7 +883,6 @@ write_html_image (TGallerySetup *setup, /* Setup block parser */ block_parser_register_key (block_parser, "IMG_FULLSIZE_LINK", "IMG_FULLSIZE_LINK"); - block_parser_register_key (block_parser, "EXIF_TABLE", "EXIF_TABLE"); /* Read through the template and replace placeholders with real data */ @@ -901,14 +900,6 @@ write_html_image (TGallerySetup *setup, } g_free (block); } - if (block_parser_has_unused_data (block_parser, "EXIF_TABLE")) { - block = block_parser_get_data (block_parser, "EXIF_TABLE"); - if (block) { - replace_table_process (&block, replace_table); - replace_table_add_key (replace_table, "EXIF_TABLE", setup->show_exif_table ? block : ""); - } - g_free (block); - } /* Replace all known tags */ replace_table_process (&line, replace_table); |
