Mercurial > geeqie
diff src/pixbuf_util.h @ 864:f40509d56fe3
added pixbuf_fallback function
fixed thumb loader for non-image files
author | nadvornik |
---|---|
date | Fri, 27 Jun 2008 21:09:15 +0000 |
parents | 14520c3a91f8 |
children | 4fe8f9656107 |
line wrap: on
line diff
--- a/src/pixbuf_util.h Fri Jun 27 18:43:05 2008 +0000 +++ b/src/pixbuf_util.h Fri Jun 27 21:09:15 2008 +0000 @@ -20,6 +20,9 @@ GdkPixbuf *pixbuf_inline(const gchar *key); +GdkPixbuf *pixbuf_fallback(FileData *fd, gint requested_width, gint requested_height); + +gint pixbuf_scale_aspect(gint req_w, gint req_h, gint old_w, gint old_h, gint *new_w, gint *new_h); #define PIXBUF_INLINE_FOLDER_CLOSED "folder_closed" #define PIXBUF_INLINE_FOLDER_LOCKED "folder_locked"