projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629ded5
)
conform/actor-size: Do not use Rectangle
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 17 Jan 2012 16:20:19 +0000
(16:20 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 17 Jan 2012 16:21:55 +0000
(16:21 +0000)
Use ClutterActor directly, instead.
tests/conform/test-actor-size.c
patch
|
blob
|
history
diff --git
a/tests/conform/test-actor-size.c
b/tests/conform/test-actor-size.c
index
18597de
..
6d837c6
100644
(file)
--- 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);
}