Mercurial > geeqie
diff src/pan-view.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 | 1698baa37871 |
children | 3096a47232ec |
line wrap: on
line diff
--- a/src/pan-view.c Tue Aug 26 21:19:33 2008 +0000 +++ b/src/pan-view.c Tue Aug 26 22:22:51 2008 +0000 @@ -2030,8 +2030,8 @@ rx = ry = 0; if (pr->scale) { - rx = (double)(pr->x_scroll + event->x - pr->x_offset) / pr->scale; - ry = (double)(pr->y_scroll + event->y - pr->y_offset) / pr->scale; + rx = (gdouble)(pr->x_scroll + event->x - pr->x_offset) / pr->scale; + ry = (gdouble)(pr->y_scroll + event->y - pr->y_offset) / pr->scale; } pi = pan_item_find_by_coord(pw, PAN_ITEM_BOX, rx, ry, "info");