mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-06 18:50:15 +01:00
Avoid -Wunused-function for iterate_both_main_loops() without containers
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
eebe2476c3
commit
2154504764
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue