[glib] fix previous
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] fix previous
- Date: Wed, 19 Aug 2015 20:21:52 +0000 (UTC)
commit 8d8a1c205b8eb5b54ea1fc8a2e39197dacb1788b
Author: Dan Winship <danw gnome org>
Date: Wed Aug 19 16:21:46 2015 -0400
fix previous
gio/gdbusmethodinvocation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusmethodinvocation.c b/gio/gdbusmethodinvocation.c
index 9d833e2..c5224be 100644
--- a/gio/gdbusmethodinvocation.c
+++ b/gio/gdbusmethodinvocation.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]