1
0
Fork 0
mutter-performance-source/cogl/tests/conform/test-fixtures.c
Georges Basile Stavracas Neto ae49f89cf3 clutter/stage: Remove color property
The property is deprecated and the current implementation simply
redirects it to ClutterActor::background-color, so remove it.

Also update the tests to set the background color directly.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1332
2020-06-27 13:35:46 +00:00

12 lines
257 B
C

#include <clutter/clutter.h>
#include <cogl/cogl.h>
void
test_simple_rig (void)
{
ClutterColor stage_color = { 0x0, 0x0, 0x0, 0xff };
stage = clutter_stage_get_default ();
clutter_actor_set_background_color (CLUTTER_ACTOR (stage), &stage_color);
}