summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-09-27 10:43:29 +0200
committerDave Davenport <qball@gmpclient.org>2019-09-27 10:43:29 +0200
commit4e0dfb03b13f03aa254dc7d23591ea2963d769cd (patch)
tree2566bf331b9cfd130593c25ae18fc910a23ae588
parent7c613f6a4ca4354165e2cab987d0db1e7ce32c5a (diff)
[Test] Fix building of tests.
Fixes: #1017
-rw-r--r--test/box-test.c6
-rw-r--r--test/scrollbar-test.c5
2 files changed, 11 insertions, 0 deletions
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 );