diff --git a/gsk/gsktransform.c b/gsk/gsktransform.c index 5d9d538d4c..f116b79acd 100644 --- a/gsk/gsktransform.c +++ b/gsk/gsktransform.c @@ -834,6 +834,9 @@ normalize_angle (float angle) if (f < 0) f = 360 + f; + g_assert (f < 360.0); + g_assert (f >= 0.0); + return f; }