clutter/tests: Remove dead code

Defined, but not used anywhere.
This commit is contained in:
Jonas Ådahl 2019-01-20 09:04:46 +01:00
parent 576e7a43df
commit caf27c4c16
2 changed files with 0 additions and 32 deletions

View File

@ -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,

View File

@ -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[])
{