msw_style.c: Use G_PI rather than M_PI

M_PI is not universally available...
This commit is contained in:
Chun-wei Fan
2011-11-08 12:37:15 +08:00
parent 7e8d3aa812
commit 278325f611

View File

@@ -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) {