comparison src/image-overlay.c @ 531:1149a7b0a3d7

cleanup: use image_get_image_size
author nadvornik
date Tue, 29 Apr 2008 18:12:49 +0000
parents 969530d69aac
children ea226ad80fc4
comparison
equal deleted inserted replaced
530:1d67ef911fa8 531:1149a7b0a3d7
336 h = gdk_pixbuf_get_height(imd->il->pixbuf); 336 h = gdk_pixbuf_get_height(imd->il->pixbuf);
337 imgpixbuf = imd->il->pixbuf; 337 imgpixbuf = imd->il->pixbuf;
338 } 338 }
339 else 339 else
340 { 340 {
341 pixbuf_renderer_get_image_size(PIXBUF_RENDERER(imd->pr), &w, &h); 341 image_get_image_size(imd, &w, &h);
342 imgpixbuf = (PIXBUF_RENDERER(imd->pr))->pixbuf; 342 imgpixbuf = (PIXBUF_RENDERER(imd->pr))->pixbuf;
343 } 343 }
344 344
345 if (imgpixbuf && imd->histogram_enabled && imd->histogram 345 if (imgpixbuf && imd->histogram_enabled && imd->histogram
346 && (!imd->il || imd->il->done)) 346 && (!imd->il || imd->il->done))