From 4e0dfb03b13f03aa254dc7d23591ea2963d769cd Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 27 Sep 2019 10:43:29 +0200 Subject: [PATCH] [Test] Fix building of tests. Fixes: #1017 --- test/box-test.c | 6 ++++++ test/scrollbar-test.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/test/box-test.c b/test/box-test.c index 6615aa7c..82d0ef70 100644 --- a/test/box-test.c +++ b/test/box-test.c @@ -63,6 +63,12 @@ unsigned int test =0; } \ } + +int monitor_active ( G_GNUC_UNUSED workarea *mon ) +{ + return 0; +} + gboolean config_parse_set_property ( G_GNUC_UNUSED const Property *p, G_GNUC_UNUSED char **error ) { return FALSE; diff --git a/test/scrollbar-test.c b/test/scrollbar-test.c index 4f73974e..64193cb8 100644 --- a/test/scrollbar-test.c +++ b/test/scrollbar-test.c @@ -56,6 +56,11 @@ unsigned int test =0; } \ } +int monitor_active ( G_GNUC_UNUSED workarea *mon ) +{ + return 0; +} + char * helper_get_theme_path ( const char *file ) { return g_strdup ( file );