summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-07-11 00:36:11 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-07-11 00:40:03 +0100
commit6d9ce6e9241b18bf1f9b39c5e803e2b8a67ef783 (patch)
tree69d3eed322cbe1ee0fc793dae4259b7c2e5d38b3
parent52abb3fe2e97af2a9e25d5c8c180b16e24b843fd (diff)
downloadclutter-gtk-6d9ce6e9241b18bf1f9b39c5e803e2b8a67ef783.tar.gz
Declare private callbacks as static
Avoid a compiler warning.
-rw-r--r--examples/gtk-clutter-test-actor.c2
-rw-r--r--examples/gtk-clutter-test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/gtk-clutter-test-actor.c b/examples/gtk-clutter-test-actor.c
index 9c7d3de..e1b3c54 100644
--- a/examples/gtk-clutter-test-actor.c
+++ b/examples/gtk-clutter-test-actor.c
@@ -16,7 +16,7 @@ static gboolean do_rotate = TRUE;
static int nwidgets;
/* Timeline handler */
-void
+static void
frame_cb (ClutterTimeline *timeline,
gint msecs,
gpointer data)
diff --git a/examples/gtk-clutter-test.c b/examples/gtk-clutter-test.c
index e61cd84..3fce37f 100644
--- a/examples/gtk-clutter-test.c
+++ b/examples/gtk-clutter-test.c
@@ -67,7 +67,7 @@ input_cb (ClutterStage *stage,
/* Timeline handler */
-void
+static void
frame_cb (ClutterTimeline *timeline,
gint msecs,
gpointer data)