1
0
Fork 0

Move the easing modes test into the examples

It's a pretty simple, self-contained example of how to use different
easing modes, as well as the implicit animations API.
This commit is contained in:
Emmanuele Bassi 2012-05-02 18:37:36 +01:00
parent 3fab1e4026
commit c6b226e6c7
3 changed files with 3 additions and 10 deletions

View file

@ -7,6 +7,7 @@ all_examples = \
constraints \
drag-action \
drop-action \
easing-modes \
flow-layout \
threads

View file

@ -1,5 +1,4 @@
#include <stdlib.h>
#include <gmodule.h>
#include <clutter/clutter.h>
/* all the easing modes provided by Clutter */
@ -180,8 +179,8 @@ static GOptionEntry test_easing_entries[] = {
{ NULL }
};
G_MODULE_EXPORT int
test_transitions_main (int argc, char *argv[])
int
main (int argc, char *argv[])
{
ClutterActor *stage, *rect, *label;
gchar *text;
@ -233,9 +232,3 @@ test_transitions_main (int argc, char *argv[])
return EXIT_SUCCESS;
}
G_MODULE_EXPORT const char *
test_transitions_describe (void)
{
return "Visualize all easing modes provided by Clutter";
}

View file

@ -47,7 +47,6 @@ UNIT_TESTS = \
test-path-constraint.c \
test-state-script.c \
test-devices.c \
test-transitions.c \
test-content.c \
test-keyframe-transition.c \
test-scroll-actor.c