[clutter] conform/actor-size: Do not use Rectangle
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] conform/actor-size: Do not use Rectangle
- Date: Tue, 17 Jan 2012 16:22:15 +0000 (UTC)
commit 8492b17ae23bf154d11286a4ab530c42c31c107c
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Tue Jan 17 16:20:19 2012 +0000
conform/actor-size: Do not use Rectangle
Use ClutterActor directly, instead.
tests/conform/test-actor-size.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/conform/test-actor-size.c b/tests/conform/test-actor-size.c
index 18597de..6d837c6 100644
--- a/tests/conform/test-actor-size.c
+++ b/tests/conform/test-actor-size.c
@@ -147,7 +147,8 @@ actor_fixed_size (void)
gfloat min_width, min_height;
gfloat nat_width, nat_height;
- rect = clutter_rectangle_new ();
+ rect = clutter_actor_new ();
+ g_object_ref_sink (rect);
if (g_test_verbose ())
g_print ("Initial size is 0\n");
@@ -206,4 +207,5 @@ actor_fixed_size (void)
g_assert_cmpfloat (clutter_actor_get_height (rect), ==, 0);
clutter_actor_destroy (rect);
+ g_object_unref (rect);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]