Next commit wants this.

Signed-off-by: Luiz Capitulino <[email protected]>
---
 qga/channel-win32.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/qga/channel-win32.c b/qga/channel-win32.c
index c0e19a8..8e259c3 100644
--- a/qga/channel-win32.c
+++ b/qga/channel-win32.c
@@ -25,6 +25,7 @@ struct GAChannel {
     GAChannelReadState rstate;
     GIOCondition pending_events; /* TODO: use GAWatch.pollfd.revents */
     GSource *source;
+    GAChannelMethod method;
 };
 
 typedef struct GAWatch {
@@ -317,6 +318,7 @@ GAChannel *ga_channel_new(GAChannelMethod method, const 
gchar *path,
 
     c->cb = cb;
     c->user_data = opaque;
+    c->method = method;
 
     sec_attrs.nLength = sizeof(SECURITY_ATTRIBUTES);
     sec_attrs.lpSecurityDescriptor = NULL;
-- 
1.7.12.315.g682ce8b


Reply via email to