]> Pileus Git - ~andy/gtk/blobdiff - tests/testprint.c
perf/widgets.h tests/print-editor.c tests/prop-editor.h
[~andy/gtk] / tests / testprint.c
index e39c3a9914b22350f5cac85cac8a2cdf808eb83d..8eed10ef041175c718d7bf13c97db0b280424cd0 100644 (file)
@@ -22,7 +22,6 @@
 #include <math.h>
 #include <pango/pangocairo.h>
 #include <gtk/gtk.h>
-#include <gtk/gtkprintoperation.h>
 #include "testprintfileoperation.h"
 
 static void
@@ -62,7 +61,7 @@ draw_page (GtkPrintOperation *operation,
   /* Draw some lines */
   cairo_move_to (cr, 20, 10);
   cairo_line_to (cr, 40, 20);
-  cairo_arc (cr, 60, 60, 20, 0, M_PI);
+  cairo_arc (cr, 60, 60, 20, 0, G_PI);
   cairo_line_to (cr, 80, 20);
   
   cairo_set_source_rgb (cr, 0, 0, 0);