[gnome-photos/sam/tracker3] TEMP: Fix compile warning
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/sam/tracker3] TEMP: Fix compile warning
- Date: Wed, 27 May 2020 11:46:47 +0000 (UTC)
commit 34b5da24506170cc60a988117947fd8006b1c834
Author: Sam Thursfield <sam afuera me uk>
Date: Wed May 27 13:07:58 2020 +0200
TEMP: Fix compile warning
src/photos-utils.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-utils.c b/src/photos-utils.c
index 401f52ba..9d54be36 100644
--- a/src/photos-utils.c
+++ b/src/photos-utils.c
@@ -659,19 +659,19 @@ photos_utils_draw_rectangle_handles (cairo_t *cr,
cairo_save (cr);
cairo_new_sub_path (cr);
- cairo_arc (cr, x - offset, y - offset, radius, 0.0, 2.0 * M_PI);
+ cairo_arc (cr, x - offset, y - offset, radius, 0.0, 2.0 * G_PI);
cairo_fill (cr);
cairo_new_sub_path (cr);
- cairo_arc (cr, x + width + offset, y - offset, radius, 0.0, 2.0 * M_PI);
+ cairo_arc (cr, x + width + offset, y - offset, radius, 0.0, 2.0 * G_PI);
cairo_fill (cr);
cairo_new_sub_path (cr);
- cairo_arc (cr, x + width + offset, y + height + offset, radius, 0.0, 2.0 * M_PI);
+ cairo_arc (cr, x + width + offset, y + height + offset, radius, 0.0, 2.0 * G_PI);
cairo_fill (cr);
cairo_new_sub_path (cr);
- cairo_arc (cr, x - offset, y + height + offset, radius, 0.0, 2.0 * M_PI);
+ cairo_arc (cr, x - offset, y + height + offset, radius, 0.0, 2.0 * G_PI);
cairo_fill (cr);
cairo_restore (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]