From 6b853ad4312763d50f1e843d4e7168ccd023530a Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 17 Sep 2016 14:28:17 +0200 Subject: Drop explicit references to "original" and "preview" image sizes All image sizes are now equal, no special treatment (except of thumbnails). --- src/setup.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/setup.c') diff --git a/src/setup.c b/src/setup.c index 3d1ff2e..b2cd800 100644 --- a/src/setup.c +++ b/src/setup.c @@ -463,10 +463,6 @@ validate_design_setup (TGallerySetup *setup) fprintf (stderr, "design validation error: no image size defined\n"); return FALSE; } - if (lookup_image_size_for_name (setup, "original") == NULL) { - fprintf (stderr, "design validation error: mandatory \"original\" image size not defined\n"); - return FALSE; - } for (l = g_list_first (setup->design->image_sizes); l; l = g_list_next (l)) { image_size = l->data; g_assert (image_size != NULL); -- cgit v1.2.3