diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-03-26 23:05:31 +0100 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-03-27 16:12:58 +0100 |
commit | f9c4a03bd76ca23b6eb715244b7019fddca0eb72 (patch) | |
tree | d2e63f3aef7e2f61e280d07973407cf205ebe3ce /src/virt-viewer-app.h | |
parent | cab8f7450b8af6111c50d563321e5e7e50944479 (diff) | |
download | virt-viewer-f9c4a03bd76ca23b6eb715244b7019fddca0eb72.tar.gz virt-viewer-f9c4a03bd76ca23b6eb715244b7019fddca0eb72.tar.xz virt-viewer-f9c4a03bd76ca23b6eb715244b7019fddca0eb72.zip |
virt-viewer-app: Add a GError arg to create_session()
This is part of a small re-factoring that will have all connection
errors, when we won't be able to connect regardless of what changes on
the remote host, being treated by virt_viewer_app_initial_connect(),
avoiding weird behaviors as we have nowadays (like more than one error
dialog being shown or having the virt-viewer waiting forever for a guest
that will never show up).
Related: rhbz#1085216
Diffstat (limited to 'src/virt-viewer-app.h')
-rw-r--r-- | src/virt-viewer-app.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virt-viewer-app.h b/src/virt-viewer-app.h index 1d7cf16..8c1268d 100644 --- a/src/virt-viewer-app.h +++ b/src/virt-viewer-app.h @@ -68,7 +68,7 @@ void virt_viewer_app_trace(VirtViewerApp *self, const char *fmt, ...); void virt_viewer_app_simple_message_dialog(VirtViewerApp *self, const char *fmt, ...); gboolean virt_viewer_app_is_active(VirtViewerApp *app); void virt_viewer_app_free_connect_info(VirtViewerApp *self); -int virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type); +int virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type, GError **error); gboolean virt_viewer_app_activate(VirtViewerApp *self, GError **error); gboolean virt_viewer_app_initial_connect(VirtViewerApp *self, GError **error); void virt_viewer_app_set_zoom_level(VirtViewerApp *self, gint zoom_level); |