comparison src/thumb.c @ 1011:616b14da08c2

do not access image_loader directly
author nadvornik
date Fri, 29 Aug 2008 12:35:13 +0000
parents dd311dae857a
children fe82830ab8fd
comparison
equal deleted inserted replaced
1010:82fe98d2cfdb 1011:616b14da08c2
212 { 212 {
213 if (tl->fd->thumb_pixbuf) g_object_unref(tl->fd->thumb_pixbuf); 213 if (tl->fd->thumb_pixbuf) g_object_unref(tl->fd->thumb_pixbuf);
214 tl->fd->thumb_pixbuf = pixbuf; 214 tl->fd->thumb_pixbuf = pixbuf;
215 gdk_pixbuf_ref(tl->fd->thumb_pixbuf); 215 gdk_pixbuf_ref(tl->fd->thumb_pixbuf);
216 } 216 }
217 save = il->shrunk; 217 save = image_loader_get_shrunk(il);
218 } 218 }
219 219
220 if (rotated) gdk_pixbuf_unref(rotated); 220 if (rotated) gdk_pixbuf_unref(rotated);
221 221
222 /* save it ? */ 222 /* save it ? */