diff options
Diffstat (limited to 'tests/dbus/bug602003_client.c-expected')
-rw-r--r-- | tests/dbus/bug602003_client.c-expected | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dbus/bug602003_client.c-expected b/tests/dbus/bug602003_client.c-expected index 38836347a..67aaa5ebb 100644 --- a/tests/dbus/bug602003_client.c-expected +++ b/tests/dbus/bug602003_client.c-expected @@ -224,8 +224,7 @@ _dbus_test_test_string (Test* self, g_variant_iter_init (&_arguments_iter, _parameters_); result = test_test_string (self, &error); if (error) { - g_dbus_method_invocation_return_gerror (invocation, error); - g_error_free (error); + g_dbus_method_invocation_take_error (invocation, error); return; } _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation)); |