[gtk+/gtk-2-24-quartz] msw_style.c: Use G_PI rather than M_PI



commit 66ef39747557df122b930fb38c43b4c5e9c12d86
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Nov 8 12:37:15 2011 +0800

    msw_style.c: Use G_PI rather than M_PI
    
    M_PI is not universally available...

 modules/engines/ms-windows/msw_style.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/engines/ms-windows/msw_style.c b/modules/engines/ms-windows/msw_style.c
index 9be99aa..ba3a60b 100755
--- a/modules/engines/ms-windows/msw_style.c
+++ b/modules/engines/ms-windows/msw_style.c
@@ -2620,7 +2620,7 @@ draw_themed_tab_button (GtkStyle *style,
                   draw_rect.y + draw_rect.height * 0.5);
 
   if (gap_side == GTK_POS_LEFT || gap_side == GTK_POS_RIGHT) {
-    cairo_rotate (cr, M_PI/2.0);
+    cairo_rotate (cr, G_PI/2.0);
   }
 
   if (gap_side == GTK_POS_LEFT || gap_side == GTK_POS_BOTTOM) {



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