From fdb6c84fb4ef714eebec7f08c94b11b7270bb753 Mon Sep 17 00:00:00 2001 From: Scott Fritzinger Date: Fri, 14 Jul 2000 01:06:58 +0000 Subject: [PATCH] whoops. file_get changed to file_get_preview in the indexing function :P MUCH faster now. sheesh. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@672 67ed7778-7388-44ab-90cf-0a291f65f57c --- frontends/gtk-old/src/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/gtk-old/src/callbacks.c b/frontends/gtk-old/src/callbacks.c index 872436de2..2bf07f84f 100644 --- a/frontends/gtk-old/src/callbacks.c +++ b/frontends/gtk-old/src/callbacks.c @@ -582,7 +582,7 @@ void camera_index_common(int thumbnails) { no_thumbnail_xpm,buf,NULL); if (thumbnails) { f = gp_file_new(); - if (gp_file_get(x, f) == GP_OK) { + if (gp_file_get_preview(x, f) == GP_OK) { gdk_image_new_from_data(f->data,f->size,1,&pixmap,&bitmap); gtk_pixmap_set(GTK_PIXMAP(item->pixmap), pixmap, bitmap); }