summaryrefslogtreecommitdiff
path: root/src/items.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-17 14:28:17 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-17 14:28:17 +0200
commit6b853ad4312763d50f1e843d4e7168ccd023530a (patch)
tree45ab2dafb99c554dc9df04f7eb9ff8ee654c4113 /src/items.c
parent923c421b3cbb2d6b55f40595034a12c19fef7c1b (diff)
downloadcataract-6b853ad4312763d50f1e843d4e7168ccd023530a.tar.xz
Drop explicit references to "original" and "preview" image sizes
All image sizes are now equal, no special treatment (except of thumbnails).
Diffstat (limited to 'src/items.c')
-rw-r--r--src/items.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/items.c b/src/items.c
index 27ab57e..d475f91 100644
--- a/src/items.c
+++ b/src/items.c
@@ -513,8 +513,6 @@ get_album_titles (const gchar *filename, gchar **title, gchar **description, gch
*thumbnail = xml_file_get_node_attribute (xml, "/gallery/items/item[1]/thumbnail", "src");
if (! *thumbnail)
*thumbnail = xml_file_get_node_attribute (xml, "/gallery/items/item[1]", "src");
- if (! *thumbnail)
- *thumbnail = xml_file_get_node_attribute (xml, "/gallery/items/item[1]", "preview");
}
xml_parser_free (xml);
@@ -577,8 +575,6 @@ get_item_target_filename (TIndexItem *item)
const gchar *s;
s = item->path;
- if (s == NULL && item->image_sizes)
- s = g_hash_table_lookup (item->image_sizes, "preview");
if (s == NULL)
return NULL;