From 465ab95a64f780eb963a137cb811b435c2af9c4e Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 14 Dec 2012 19:50:27 +0800 Subject: [PATCH] clutter/clutter-rotate-action.c: Use G_PI instead of M_PI ...because M_PI is not universally available --- clutter/clutter-rotate-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-rotate-action.c b/clutter/clutter-rotate-action.c index a5fdefbd0..e355d3a0b 100644 --- a/clutter/clutter-rotate-action.c +++ b/clutter/clutter-rotate-action.c @@ -151,7 +151,7 @@ clutter_rotate_action_gesture_progress (ClutterGestureAction *action, angle = -angle; /* Convert radians to degrees */ - angle = angle * 180.0 / M_PI; + angle = angle * 180.0 / G_PI; g_signal_emit (action, rotate_signals[ROTATE], 0, actor, angle,