summaryrefslogtreecommitdiff
path: root/gtk/gtknumerableicon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtknumerableicon.c')
-rw-r--r--gtk/gtknumerableicon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtknumerableicon.c b/gtk/gtknumerableicon.c
index 622d793a27..678abdbf30 100644
--- a/gtk/gtknumerableicon.c
+++ b/gtk/gtknumerableicon.c
@@ -118,18 +118,18 @@ draw_default_surface (GtkNumerableIcon *self)
cr = cairo_create (surface);
cairo_arc (cr, DEFAULT_SURFACE_SIZE / 2., DEFAULT_SURFACE_SIZE / 2.,
- DEFAULT_RADIUS, 0., 2 * M_PI);
+ DEFAULT_RADIUS, 0., 2 * G_PI);
gdk_cairo_set_source_rgba (cr, self->priv->background);
cairo_fill (cr);
cairo_arc (cr, DEFAULT_SURFACE_SIZE / 2., DEFAULT_SURFACE_SIZE / 2.,
- DEFAULT_RADIUS - DEFAULT_BORDER_SIZE, 0., 2 * M_PI);
+ DEFAULT_RADIUS - DEFAULT_BORDER_SIZE, 0., 2 * G_PI);
gdk_cairo_set_source_rgba (cr, self->priv->foreground);
cairo_fill (cr);
cairo_arc (cr, DEFAULT_SURFACE_SIZE / 2., DEFAULT_SURFACE_SIZE / 2.,
- DEFAULT_RADIUS - 2 * DEFAULT_BORDER_SIZE, 0., 2 * M_PI);
+ DEFAULT_RADIUS - 2 * DEFAULT_BORDER_SIZE, 0., 2 * G_PI);
gdk_cairo_set_source_rgba (cr, self->priv->background);
cairo_fill (cr);
@@ -157,7 +157,7 @@ draw_from_gradient (cairo_pattern_t *pattern)
cairo_pattern_set_matrix (pattern, &matrix);
cairo_arc (cr, DEFAULT_SURFACE_SIZE / 2., DEFAULT_SURFACE_SIZE / 2.,
- DEFAULT_RADIUS, 0., 2 * M_PI);
+ DEFAULT_RADIUS, 0., 2 * G_PI);
cairo_set_source (cr, pattern);
cairo_fill (cr);