Mercurial > geeqie
diff src/image-load.c @ 1011:616b14da08c2
do not access image_loader directly
author | nadvornik |
---|---|
date | Fri, 29 Aug 2008 12:35:13 +0000 |
parents | dd311dae857a |
children | fe82830ab8fd |
line wrap: on
line diff
--- a/src/image-load.c Fri Aug 29 09:59:20 2008 +0000 +++ b/src/image-load.c Fri Aug 29 12:35:13 2008 +0000 @@ -520,6 +520,23 @@ return il->done; } +FileData *image_loader_get_fd(ImageLoader *il) +{ + if (!il) return NULL; + + return il->fd; + +} + +gint image_loader_get_shrunk(ImageLoader *il) +{ + if (!il) return FALSE; + + return il->shrunk; + +} + + gint image_load_dimensions(FileData *fd, gint *width, gint *height) { ImageLoader *il;