clutter/tests: Remove dead code
Defined, but not used anywhere.
This commit is contained in:
parent
576e7a43df
commit
caf27c4c16
@ -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
|
static gboolean
|
||||||
blue_button_press (ClutterActor *actor,
|
blue_button_press (ClutterActor *actor,
|
||||||
ClutterButtonEvent *event,
|
ClutterButtonEvent *event,
|
||||||
|
@ -9,16 +9,6 @@
|
|||||||
int
|
int
|
||||||
test_state_script_main (int argc, char *argv[]);
|
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
|
G_MODULE_EXPORT int
|
||||||
test_state_script_main (int argc, char *argv[])
|
test_state_script_main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user