mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
fix previous
This commit is contained in:
parent
c686245141
commit
8d8a1c205b
@ -505,7 +505,7 @@ g_dbus_method_invocation_return_value_internal (GDBusMethodInvocation *invocatio
|
|||||||
error = NULL;
|
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_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_warning ("Error sending message: %s", error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user