Message ID | 1351705520-24589-4-git-send-email-lcapitulino@redhat.com |
---|---|
State | New |
Headers | show |
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;
Next commit wants this. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> --- qga/channel-win32.c | 2 ++ 1 file changed, 2 insertions(+)