Avoid C99 sinf()

This commit is contained in:
Hans Breuer 2011-01-02 12:10:00 +01:00
parent 67b4eff921
commit d4c4db6a7c

View File

@ -291,7 +291,7 @@ calculate_progress (gdouble linear_progress,
break; break;
case GTK_TIMELINE_PROGRESS_EASE: case GTK_TIMELINE_PROGRESS_EASE:
progress = (sinf ((progress - 0.5) * G_PI) + 1) / 2; progress = (sin ((progress - 0.5) * G_PI) + 1) / 2;
break; break;
case GTK_TIMELINE_PROGRESS_EASE_IN: case GTK_TIMELINE_PROGRESS_EASE_IN:
progress = pow (progress, 3); progress = pow (progress, 3);