Mercurial > geeqie
changeset 531:1149a7b0a3d7
cleanup: use image_get_image_size
author | nadvornik |
---|---|
date | Tue, 29 Apr 2008 18:12:49 +0000 |
parents | 1d67ef911fa8 |
children | ea226ad80fc4 |
files | src/image-overlay.c src/img-view.c src/info.c src/layout.c |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image-overlay.c Tue Apr 29 17:52:12 2008 +0000 +++ b/src/image-overlay.c Tue Apr 29 18:12:49 2008 +0000 @@ -338,7 +338,7 @@ } else { - pixbuf_renderer_get_image_size(PIXBUF_RENDERER(imd->pr), &w, &h); + image_get_image_size(imd, &w, &h); imgpixbuf = (PIXBUF_RENDERER(imd->pr))->pixbuf; }
--- a/src/img-view.c Tue Apr 29 17:52:12 2008 +0000 +++ b/src/img-view.c Tue Apr 29 18:12:49 2008 +0000 @@ -899,7 +899,7 @@ if (image_zoom_get(vw->imd) == 0.0) { - pixbuf_renderer_get_image_size(PIXBUF_RENDERER(vw->imd->pr), &w, &h); + image_get_image_size(vw->imd, &w, &h); } else {
--- a/src/info.c Tue Apr 29 17:52:12 2008 +0000 +++ b/src/info.c Tue Apr 29 18:12:49 2008 +0000 @@ -238,7 +238,7 @@ if (id->image->unknown) return; - pixbuf_renderer_get_image_size(PIXBUF_RENDERER(id->image->pr), &width, &height); + image_get_image_size(id->image, &width, &height); buf = g_strdup_printf("%d x %d", width, height); gtk_label_set_text(GTK_LABEL(tab->label_dimensions), buf);
--- a/src/layout.c Tue Apr 29 17:52:12 2008 +0000 +++ b/src/layout.c Tue Apr 29 18:12:49 2008 +0000 @@ -598,7 +598,7 @@ { gint width, height; - pixbuf_renderer_get_image_size(PIXBUF_RENDERER(lw->image->pr), &width, &height); + image_get_image_size(lw->image, &width, &height); text = g_strdup_printf(_("( %d x %d ) %s bytes"), width, height, b); }