[gtk+] Avoid C99 sinf()
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Avoid C99 sinf()
- Date: Sun, 2 Jan 2011 16:37:29 +0000 (UTC)
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]