summaryrefslogtreecommitdiff
path: root/src/items.c
diff options
context:
space:
mode:
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;