summaryrefslogtreecommitdiff
path: root/src/items.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-17 12:07:40 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-17 12:07:40 +0200
commit923c421b3cbb2d6b55f40595034a12c19fef7c1b (patch)
treec907c5189390ba8b38d1c453bb7db44b2c943ed7 /src/items.h
parent6a16a08ea3e75a524cb136f4c6ada1e4eef4bfd4 (diff)
downloadcataract-923c421b3cbb2d6b55f40595034a12c19fef7c1b.tar.xz
Drop legacy nofullsize and album width/height/quality tags
This drops the legacy functionality that doesn't really fit into the new flexible design concept and makes code unnecessarily complicated. Most of these overrides affected only the "preview" image size anyway. This also makes the <item src> attribute mandatory as it's being the only source of metadata (unless overriden or supplied externally). This unfortunately breaks the so-far 100% album XML files compatibility.
Diffstat (limited to 'src/items.h')
-rw-r--r--src/items.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/items.h b/src/items.h
index e62bc02..2d0df59 100644
--- a/src/items.h
+++ b/src/items.h
@@ -62,8 +62,6 @@ typedef struct {
gchar *meta_author;
gchar *meta_description;
gchar *meta_keywords;
- gboolean nofullsize;
- gboolean fullsize;
gchar **extra_files;
gchar *auth_realm;
gchar *auth_username;
@@ -79,8 +77,6 @@ typedef struct {
gchar *title_description;
gchar *thumbnail; /* index pages */
GHashTable *image_sizes;
- gboolean force_nofullsize;
- gboolean force_fullsize;
gboolean hidden;
gchar *metadata_external_exif;
PropertiesTable *properties;
@@ -96,13 +92,6 @@ typedef struct {
} TPathInfo;
typedef enum {
- PROP_QUALITY,
- PROP_WIDTH,
- PROP_HEIGHT,
- PROP_LANDSCAPE_W,
- PROP_LANDSCAPE_H,
- PROP_PORTRAIT_W,
- PROP_PORTRAIT_H,
PROP_BORDER_STYLE,
PROP_THUMB_CROP_HINT,
PROP_METADATA_TZ_SHIFT, /* minutes */