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
This commit is contained in:
Scott Fritzinger
2000-07-14 01:06:58 +00:00
parent f2e0e4ea65
commit fdb6c84fb4

View File

@@ -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);
}