diff options
Diffstat (limited to 'tests/30574.c')
-rw-r--r-- | tests/30574.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/30574.c b/tests/30574.c index bcc1276..7098b55 100644 --- a/tests/30574.c +++ b/tests/30574.c @@ -54,12 +54,14 @@ set_reply (DBusPendingCall * pending, void *user_data) } static DBusMessage * -send_and_allow_reentry (DBusConnection * bus, DBusMessage * message, +send_and_allow_reentry (DBusConnection *conn, DBusMessage *message, dbus_bool_t switch_after_send) { DBusPendingCall *pending; SpiReentrantCallClosure closure; + g_assert (conn == bus); + closure.loop = g_main_loop_new (main_context, FALSE); DBUS_GMAIN_FUNCTION_NAME (set_up_connection) (bus, (switch_after_send ? NULL : |