mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Put bind-constraint back into the interactive tests
The bind-constraint.c example still uses clutter_actor_animate(), and it'd require some serious reworking to move it to ClutterPropertyTransition or to implicit animations.
This commit is contained in:
parent
4fef7eb689
commit
5ad1ec7cca
@ -2,7 +2,6 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||
|
||||
all_examples = \
|
||||
basic-actor \
|
||||
bind-constraint \
|
||||
canvas \
|
||||
constraints \
|
||||
drag-action \
|
||||
|
@ -49,7 +49,8 @@ UNIT_TESTS = \
|
||||
test-devices.c \
|
||||
test-content.c \
|
||||
test-keyframe-transition.c \
|
||||
test-scroll-actor.c
|
||||
test-scroll-actor.c \
|
||||
test-bind-constraint.c
|
||||
|
||||
if X11_TESTS
|
||||
UNIT_TESTS += test-pixmap.c
|
||||
|
@ -154,8 +154,14 @@ on_button_release (ClutterActor *actor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
G_MODULE_EXPORT const char *
|
||||
test_bind_constraint_describe (void)
|
||||
{
|
||||
return "Demonstrate the usage of ClutterBindConstraint";
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT int
|
||||
test_bind_constraint_main (int argc, char *argv[])
|
||||
{
|
||||
ClutterActor *stage, *rect;
|
||||
ClutterConstraint *constraint;
|
Loading…
Reference in New Issue
Block a user