fix previous

This commit is contained in:
Dan Winship 2015-08-19 16:21:46 -04:00
parent c686245141
commit 8d8a1c205b

View File

@ -505,7 +505,7 @@ g_dbus_method_invocation_return_value_internal (GDBusMethodInvocation *invocatio
error = NULL;
if (!g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), reply, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &error))
{
if (!g_error_matches (G_IO_ERROR, G_IO_ERROR_CLOSED))
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
g_warning ("Error sending message: %s", error->message);
g_error_free (error);
}