comparison src/dupe.c @ 864:f40509d56fe3

added pixbuf_fallback function fixed thumb loader for non-image files
author nadvornik
date Fri, 27 Jun 2008 21:09:15 +0000
parents 9bd49e725ad3
children 1698baa37871
comparison
equal deleted inserted replaced
863:8ddd00cc8b69 864:f40509d56fe3
1262 1262
1263 if (!dw->thumb_loader || !dw->thumb_item) return; 1263 if (!dw->thumb_loader || !dw->thumb_item) return;
1264 di = dw->thumb_item; 1264 di = dw->thumb_item;
1265 1265
1266 if (di->pixbuf) g_object_unref(di->pixbuf); 1266 if (di->pixbuf) g_object_unref(di->pixbuf);
1267 di->pixbuf = thumb_loader_get_pixbuf(dw->thumb_loader, TRUE); 1267 di->pixbuf = thumb_loader_get_pixbuf(dw->thumb_loader);
1268 1268
1269 dupe_listview_set_thumb(dw, di, NULL); 1269 dupe_listview_set_thumb(dw, di, NULL);
1270 } 1270 }
1271 1271
1272 static void dupe_thumb_error_cb(ThumbLoader *tl, gpointer data) 1272 static void dupe_thumb_error_cb(ThumbLoader *tl, gpointer data)