diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-04-03 17:03:13 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-04-03 17:29:55 +0200 |
| commit | c8979f40106cc429c8125ce0f520f9470da5404c (patch) | |
| tree | 43190f7dad952d4c988d8727c3fb9991531b8d55 /src/setup.c | |
| parent | 2d4a2fc03859065291fcb05d8df29ba8f50ab6e3 (diff) | |
| download | cataract-c8979f40106cc429c8125ce0f520f9470da5404c.tar.xz | |
jpeg-utils: Override artist and owner name
Useful to override previous camera owner name stored in EXIF.
Diffstat (limited to 'src/setup.c')
| -rw-r--r-- | src/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup.c b/src/setup.c index 911a702..37a5382 100644 --- a/src/setup.c +++ b/src/setup.c @@ -113,6 +113,7 @@ parse_setup_xml (const gchar *filename) setup->use_title_as_meta = xml_file_get_node_attribute_boolean_with_default (xml, "/gallery_setup/meta/use_title_as_meta", "value", TRUE); setup->site_title = xml_file_get_node_attribute (xml, "/gallery_setup/meta/site", "title"); setup->add_copyright = xml_file_get_node_value (xml, "/gallery_setup/meta/add_copyright/text()"); + setup->meta_artist_name = xml_file_get_node_value (xml, "/gallery_setup/meta/artist_name/text()"); setup->favicon_file = xml_file_get_node_value (xml, "/gallery_setup/meta/favicon/text()"); setup->favicon_type = xml_file_get_node_attribute (xml, "/gallery_setup/meta/favicon", "type"); @@ -586,6 +587,7 @@ free_setup_data (TGallerySetup *setup) g_free (setup->meta_keywords); g_free (setup->site_title); g_free (setup->add_copyright); + g_free (setup->meta_artist_name); g_free (setup->favicon_file); g_free (setup->favicon_type); g_free (setup->feed_filename); |
