Mercurial > geeqie.yaz
diff src/pan-item.c @ 1000:4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
author | zas_ |
---|---|
date | Tue, 26 Aug 2008 22:22:51 +0000 |
parents | 6ca2c5fd7b13 |
children | 1646720364cf |
line wrap: on
line diff
--- a/src/pan-item.c Tue Aug 26 21:19:33 2008 +0000 +++ b/src/pan-item.c Tue Aug 26 22:22:51 2008 +0000 @@ -523,8 +523,8 @@ &rx, &ry, &rw, &rh)) { gdk_pixbuf_composite(pi->pixbuf, pixbuf, rx - x, ry - y, rw, rh, - (double) tx - x, - (double) ty - y, + (gdouble) tx - x, + (gdouble) ty - y, 1.0, 1.0, GDK_INTERP_NEAREST, 255); } @@ -663,8 +663,8 @@ if (pi->pixbuf) { gdk_pixbuf_composite(pi->pixbuf, pixbuf, rx - x, ry - y, rw, rh, - (double) pi->x - x, - (double) pi->y - y, + (gdouble) pi->x - x, + (gdouble) pi->y - y, 1.0, 1.0, GDK_INTERP_NEAREST, pi->color_a); }