[rhythmbox] segmented-bar: draw_rounded_rectangle() takes integer arguments
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] segmented-bar: draw_rounded_rectangle() takes integer arguments
- Date: Wed, 3 Nov 2021 12:21:43 +0000 (UTC)
commit 6c1d9ca0b4fdde21543ca6bd16c0933d9edfe631
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Nov 3 22:20:06 2021 +1000
segmented-bar: draw_rounded_rectangle() takes integer arguments
clang 11 complained about this
widgets/rb-segmented-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/widgets/rb-segmented-bar.c b/widgets/rb-segmented-bar.c
index 38f21fbaf..14e99ff72 100644
--- a/widgets/rb-segmented-bar.c
+++ b/widgets/rb-segmented-bar.c
@@ -646,7 +646,7 @@ static void rb_segmented_bar_render_strokes (RBSegmentedBar *bar,
x += seg_w;
}
- draw_rounded_rectangle (context, 0.5, 0.5,
+ draw_rounded_rectangle (context, 0, 0,
width - 1, height - 1, radius);
cairo_set_source (context, stroke);
cairo_stroke (context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]