summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2001-08-17 08:09:24 +0000
committerAnders Carlsson <andersca@src.gnome.org>2001-08-17 08:09:24 +0000
commit857f7b9d64885465bdf566f8cba49489f7f29893 (patch)
tree75b2122bb5f5e520670ac2ce25c2848a69526087 /gtk
parentcf79ce51370d390c6c63d14bc3c56c960ace55e9 (diff)
downloadgtk+-857f7b9d64885465bdf566f8cba49489f7f29893.tar.gz
Divide with floating point numbers so that the result will be floating
2001-08-17 Anders Carlsson <andersca@gnu.org> * gtk/gtkstyle.c (create_expander_affine): Divide with floating point numbers so that the result will be floating point.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkstyle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 5e4ed033e0..31eb52c92f 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -4003,8 +4003,8 @@ create_expander_affine (gdouble affine[6],
gdouble width;
gdouble height;
- width = expander_size / 4;
- height = expander_size / 2;
+ width = expander_size / 4.0;
+ height = expander_size / 2.0;
s = sin (degrees * G_PI / 180.0);
c = cos (degrees * G_PI / 180.0);