From 8419a8a8e2bdc01aa37e475d3a83a2a4a9a4bdf8 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Sat, 28 Nov 2015 00:07:50 +0000 Subject: Load still images in the background --- src/navigator.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/navigator.c') 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); -- cgit v1.2.3