[gtk+] Use G_PI rather than M_PI



commit 37957aea347c0eaa758d689137765dceee182f5e
Author: Hans Breuer <hans breuer org>
Date:   Sat Jul 4 11:59:26 2009 +0200

    Use G_PI rather than M_PI

 gtk/gtkprintoperation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 966417b..f3ebd85 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -2437,7 +2437,7 @@ common_render_page (GtkPrintOperation *op,
           if (priv->manual_scale != 1.0)
             cairo_scale (cr, priv->manual_scale, priv->manual_scale);
 
-          cairo_rotate (cr, - M_PI / 2);
+          cairo_rotate (cr, - G_PI / 2);
         }
     }
   else



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