clutter/clutter-rotate-action.c: Use G_PI instead of M_PI

...because M_PI is not universally available
This commit is contained in:
Chun-wei Fan 2012-12-14 19:50:27 +08:00
parent 6f55746c83
commit 465ab95a64

View File

@ -151,7 +151,7 @@ clutter_rotate_action_gesture_progress (ClutterGestureAction *action,
angle = -angle; angle = -angle;
/* Convert radians to degrees */ /* Convert radians to degrees */
angle = angle * 180.0 / M_PI; angle = angle * 180.0 / G_PI;
g_signal_emit (action, rotate_signals[ROTATE], 0, g_signal_emit (action, rotate_signals[ROTATE], 0,
actor, angle, actor, angle,