From 225dff3cb068d8920d647d1e0a07f3f352bbc8d4 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 3 Jul 2014 18:42:37 +0200 Subject: app: report disconnection error details It may be useful to provide more detailed reason for disconnection. https://bugzilla.redhat.com/show_bug.cgi?id=1115986 --- src/virt-viewer-session.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/virt-viewer-session.c') diff --git a/src/virt-viewer-session.c b/src/virt-viewer-session.c index b600481..c432719 100644 --- a/src/virt-viewer-session.c +++ b/src/virt-viewer-session.c @@ -220,9 +220,10 @@ virt_viewer_session_class_init(VirtViewerSessionClass *class) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET(VirtViewerSessionClass, session_disconnected), NULL, NULL, - g_cclosure_marshal_VOID__VOID, + g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, - 0); + 1, + G_TYPE_STRING); g_signal_new("session-channel-open", G_OBJECT_CLASS_TYPE(object_class), -- cgit