[clutter] conform/anchors: Fix a dubious test
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] conform/anchors: Fix a dubious test
- Date: Mon, 19 Mar 2012 14:49:35 +0000 (UTC)
commit 767b14fb2d1cc639cd65604049cfe3fc0abb108f
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Mar 19 14:47:55 2012 +0000
conform/anchors: Fix a dubious test
Changing the scale gravity should not affect the scale factors as well;
it was just a side-effect of the wrong implementation of the setter.
tests/conform/actor-anchors.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/conform/actor-anchors.c b/tests/conform/actor-anchors.c
index 9cb129e..42e23ce 100644
--- a/tests/conform/actor-anchors.c
+++ b/tests/conform/actor-anchors.c
@@ -380,9 +380,9 @@ test_scale_center (TestState *state)
g_assert (scale_x == 4.0);
g_assert (scale_y == 2.0);
g_assert (gravity == gravities[i].gravity);
- assert_notifications (NOTIFY_SCALE_X | NOTIFY_SCALE_Y
- | NOTIFY_SCALE_CENTER_X | NOTIFY_SCALE_CENTER_Y
- | NOTIFY_SCALE_GRAVITY);
+ assert_notifications (NOTIFY_SCALE_CENTER_X |
+ NOTIFY_SCALE_CENTER_Y |
+ NOTIFY_SCALE_GRAVITY);
assert_coords (state,
100 - gravities[i].x_pos * 3,
200 - gravities[i].y_pos,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]