diff options
Diffstat (limited to 'src/setup.c')
| -rw-r--r-- | src/setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/setup.c b/src/setup.c index c78b15f..e4df0dd 100644 --- a/src/setup.c +++ b/src/setup.c @@ -224,6 +224,9 @@ parse_design_setup_xml (const gchar *filename) s = g_strdup_printf ("/design_setup/theme[%d]/album/picture_size/text()", i + 1); theme->album_image_size = xml_file_get_node_value (xml, s); g_free (s); + s = g_strdup_printf ("/design_setup/theme[%d]/album/protected_thumbnail/text()", i + 1); + theme->album_protected_thumbnail = xml_file_get_node_value (xml, s); + g_free (s); s = g_strdup_printf ("/design_setup/theme[%d]/picture/template/text()", i + 1); theme->picture_template = xml_file_get_node_value (xml, s); @@ -408,6 +411,7 @@ free_design_theme_data (TGalleryDesignTheme *theme) g_free (theme->album_template); g_free (theme->album_filename); g_free (theme->album_image_size); + g_free (theme->album_protected_thumbnail); g_free (theme->picture_template); g_free (theme->picture_filename); g_free (theme->picture_image_size); |
