aboutsummaryrefslogtreecommitdiff
path: root/src/animate.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-15 00:21:01 +0100
committerFederico Angelilli <code@fedang.net>2024-03-15 00:21:18 +0100
commit430def6e39315b6cee807aba3e4126134b93b164 (patch)
treee400668cb1890c1f338655bd57994dbdbc8ab7cc /src/animate.c
parent5765bea99e1d497063ab312d879390b0dd3d2efd (diff)
Fix layout animation and animation handler
Diffstat (limited to 'src/animate.c')
-rw-r--r--src/animate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animate.c b/src/animate.c
index 73ca0eb..9928daa 100644
--- a/src/animate.c
+++ b/src/animate.c
@@ -48,7 +48,7 @@ typedef struct {
} AnimationShine;
// FIXME: Not working for button group
-bool shine_paint(AnimationShine *shine, cairo_t *cr, const Layout *layout)
+static bool shine_paint(AnimationShine *shine, cairo_t *cr, const Layout *layout)
{
gint64 end = shine->anim.start + shine->anim.duration;
gint64 now = g_get_monotonic_time();