diff --git a/clutter/tests/interactive/test-script.c b/clutter/tests/interactive/test-script.c index 1b8fa99f4..66c716e43 100644 --- a/clutter/tests/interactive/test-script.c +++ b/clutter/tests/interactive/test-script.c @@ -78,28 +78,6 @@ static const gchar *test_behaviour = " }" "]"; -gdouble -sine_alpha (ClutterAlpha *alpha, - gpointer dummy G_GNUC_UNUSED) -{ - ClutterTimeline *timeline = clutter_alpha_get_timeline (alpha); - - return sin (clutter_timeline_get_progress (timeline) * G_PI); -} - -gdouble -double_ramp_alpha (ClutterAlpha *alpha, - gpointer dummy G_GNUC_UNUSED) -{ - ClutterTimeline *timeline = clutter_alpha_get_timeline (alpha); - gdouble progress = clutter_timeline_get_progress (timeline); - - if (progress >= 0.5) - return 1.0 - progress; - - return progress; -} - static gboolean blue_button_press (ClutterActor *actor, ClutterButtonEvent *event, diff --git a/clutter/tests/interactive/test-state-script.c b/clutter/tests/interactive/test-state-script.c index 8b5502d68..bc29b3c4a 100644 --- a/clutter/tests/interactive/test-state-script.c +++ b/clutter/tests/interactive/test-state-script.c @@ -9,16 +9,6 @@ int test_state_script_main (int argc, char *argv[]); -gboolean -on_button_press (ClutterActor *actor, - ClutterEvent *event, - gpointer dummy G_GNUC_UNUSED) -{ - g_print ("Button pressed!\n"); - - return FALSE; -} - G_MODULE_EXPORT int test_state_script_main (int argc, char *argv[]) {