summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/setup.h b/src/setup.h
index 6bc25cb..fc04616 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -37,26 +37,26 @@
typedef struct {
gboolean verbose;
gboolean update_mode;
- char *real_templates_dir;
+ gchar *real_templates_dir;
- char *setup_xml_path;
+ gchar *setup_xml_path;
- char *templates_path;
- char *template_index;
- char *template_album;
- char *template_photo;
- char **template_files;
+ gchar *templates_path;
+ gchar *template_index;
+ gchar *template_album;
+ gchar *template_photo;
+ gchar **template_files;
gboolean support_files_use_common_root;
- char *index_file_name;
- char *thumbnail_dir;
- char *img_big_dir;
- char *img_orig_dir;
- char *thumbnail_name_format;
-
- char *footer;
- char *meta_author;
- char *meta_description;
- char *meta_keywords;
+ gchar *index_file_name;
+ gchar *thumbnail_dir;
+ gchar *img_big_dir;
+ gchar *img_orig_dir;
+ gchar *thumbnail_name_format;
+
+ gchar *footer;
+ gchar *meta_author;
+ gchar *meta_description;
+ gchar *meta_keywords;
gboolean use_title_as_meta;
int thumbnail_quality;
@@ -71,21 +71,21 @@ typedef struct {
unsigned long preview_portrait_width;
unsigned long preview_portrait_height;
- char *border_style;
+ gchar *border_style;
gboolean nofullsize;
gboolean preload;
gboolean use_iptc_exif;
gboolean erase_exif_thumbnail;
- char *site_title;
- char *add_copyright;
+ gchar *site_title;
+ gchar *add_copyright;
gboolean use_inpage_links;
gboolean show_go_up;
gboolean show_exif_table;
- char *favicon_file;
- char *favicon_type;
+ gchar *favicon_file;
+ gchar *favicon_type;
} TGallerySetup;
@@ -98,7 +98,7 @@ gboolean find_setup_xml (TGallerySetup *setup);
/*
* parse_setup_xml: XML parser for setup.xml file
*/
-gboolean parse_setup_xml (const char *filename, TGallerySetup *setup);
+gboolean parse_setup_xml (const gchar *filename, TGallerySetup *setup);
/*
* free_setup_data: free allocated setup data
@@ -109,7 +109,7 @@ void free_setup_data (TGallerySetup *setup);
* find_templates_directory: absolute/relative path checks, trying to find templates directory
* - returned string should be freed
*/
-char *find_templates_directory (TGallerySetup *setup);
+gchar *find_templates_directory (TGallerySetup *setup);
#endif /* __SETUP_H__ */