Avoid -Wunused-function for iterate_both_main_loops() without containers

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2018-03-01 18:15:52 +00:00
parent eebe2476c3
commit 2154504764

View file

@ -104,6 +104,7 @@ name_gone_set_boolean_cb (GDBusConnection *conn,
}
#endif
#ifdef HAVE_CONTAINERS_TEST
static void
iterate_both_main_loops (TestMainContext *ctx)
{
@ -114,6 +115,7 @@ iterate_both_main_loops (TestMainContext *ctx)
test_main_context_iterate (ctx, FALSE);
g_main_context_iteration (NULL, FALSE);
}
#endif
static DBusHandlerResult
observe_shouting_cb (DBusConnection *observer,