[shotwell] Remove superfluous parentheses
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Remove superfluous parentheses
- Date: Tue, 18 Oct 2016 08:41:29 +0000 (UTC)
commit ec20147df422a340e7741586a193e50840bcb268
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Oct 18 10:40:54 2016 +0200
Remove superfluous parentheses
plugins/shotwell-transitions/CircleEffect.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/shotwell-transitions/CircleEffect.vala b/plugins/shotwell-transitions/CircleEffect.vala
index 862a578..b03d8fb 100644
--- a/plugins/shotwell-transitions/CircleEffect.vala
+++ b/plugins/shotwell-transitions/CircleEffect.vala
@@ -47,7 +47,7 @@ private class CircleEffect : Object, Transitions.Effect {
public void paint(Transitions.Visuals visuals, Transitions.Motion motion, Cairo.Context ctx,
int width, int height, int frame_number) {
double alpha = motion.get_alpha(frame_number);
- int radius = (int)((alpha) * Math.fmax(width,height));
+ int radius = (int)(alpha * Math.fmax(width,height));
if (visuals.from_pixbuf != null) {
Gdk.cairo_set_source_pixbuf(ctx, visuals.from_pixbuf, visuals.from_pos.x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]