diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-28 00:07:50 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-28 00:07:50 +0000 |
commit | 8419a8a8e2bdc01aa37e475d3a83a2a4a9a4bdf8 (patch) | |
tree | 2f54eb1cba42869d364aa94153f1c29385c5c34a /src/navigator.c | |
parent | 548677824437a1338fdd253b1d978fec6c7fbd4e (diff) | |
download | imv-8419a8a8e2bdc01aa37e475d3a83a2a4a9a4bdf8.tar.gz |
Load still images in the background
Diffstat (limited to 'src/navigator.c')
-rw-r--r-- | src/navigator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/navigator.c b/src/navigator.c index 49a9858..290c764 100644 --- a/src/navigator.c +++ b/src/navigator.c @@ -43,14 +43,8 @@ void imv_destroy_navigator(struct imv_navigator *nav) nav->num_paths = 0; } -int imv_can_load_image(const char* path); - static void add_item(struct imv_navigator *nav, const char *path) { - if(!imv_can_load_image(path)) { - return; - } - if(nav->buf_size == nav->num_paths) { int new_buf_size = nav->buf_size * 2; char **new_paths = malloc(sizeof(char*) * new_buf_size); |