Mercurial > geeqie
diff src/pan-folder.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 | f103af877504 |
children | 1646720364cf |
line wrap: on
line diff
--- a/src/pan-folder.c Tue Aug 26 21:19:33 2008 +0000 +++ b/src/pan-folder.c Tue Aug 26 22:22:51 2008 +0000 @@ -123,8 +123,8 @@ a = 2*PI * group->diameter / parent->circumference; - x = (gint)((double)radius * cos(parent->angle + a / 2)); - y = (gint)((double)radius * sin(parent->angle + a / 2)); + x = (gint)((gdouble)radius * cos(parent->angle + a / 2)); + y = (gint)((gdouble)radius * sin(parent->angle + a / 2)); parent->angle += a; @@ -294,7 +294,7 @@ group->width = pi_box->width; group->height = pi_box->y + pi_box->height; - group->diameter = (int)sqrt(group->width * group->width + group->height * group->height); + group->diameter = (gint)sqrt(group->width * group->width + group->height * group->height); group->children = NULL;