[gtk+] Avoid C99 sinf()



commit d4c4db6a7c7dba2ed86689a5a420bb5e6703c49c
Author: Hans Breuer <hans breuer org>
Date:   Sun Jan 2 12:10:00 2011 +0100

    Avoid C99 sinf()

 gtk/gtktimeline.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktimeline.c b/gtk/gtktimeline.c
index 5550e7d..4053da9 100644
--- a/gtk/gtktimeline.c
+++ b/gtk/gtktimeline.c
@@ -291,7 +291,7 @@ calculate_progress (gdouble                 linear_progress,
 
       break;
     case GTK_TIMELINE_PROGRESS_EASE:
-      progress = (sinf ((progress - 0.5) * G_PI) + 1) / 2;
+      progress = (sin ((progress - 0.5) * G_PI) + 1) / 2;
       break;
     case GTK_TIMELINE_PROGRESS_EASE_IN:
       progress = pow (progress, 3);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]