Mercurial > geeqie.yaz
changeset 436:f0289d80ecc1
Rename inappropriate folder_size to folder.
author | zas_ |
---|---|
date | Sat, 19 Apr 2008 23:12:30 +0000 |
parents | 6802aeeed196 |
children | f707aa712b1f |
files | src/thumb_standard.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/thumb_standard.c Sat Apr 19 22:32:07 2008 +0000 +++ b/src/thumb_standard.c Sat Apr 19 23:12:30 2008 +0000 @@ -169,7 +169,7 @@ static gchar *thumb_loader_std_cache_path(ThumbLoaderStd *tl, gint local, GdkPixbuf *pixbuf, gint fail) { - const gchar *folder_size; + const gchar *folder; gint w, h; if (!tl->source_path || !tl->thumb_uri) return NULL; @@ -187,20 +187,20 @@ if (fail) { - folder_size = THUMB_FOLDER_FAIL; + folder = THUMB_FOLDER_FAIL; } else if (w > THUMB_SIZE_NORMAL || h > THUMB_SIZE_NORMAL) { - folder_size = THUMB_FOLDER_LARGE; + folder = THUMB_FOLDER_LARGE; } else { - folder_size = THUMB_FOLDER_NORMAL; + folder = THUMB_FOLDER_NORMAL; } return thumb_std_cache_path(tl->source_path, (local) ? tl->local_uri : tl->thumb_uri, - local, folder_size); + local, folder); } static gint thumb_loader_std_fail_check(ThumbLoaderStd *tl) @@ -295,7 +295,7 @@ /* local failures are not stored */ if (tl->cache_local) return; - pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, 1, 1); + pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, 1, 1); fail = TRUE; } else