[wing/wip/nacho/poll-stream] fixes



commit 44aedcd31dc01ce00fdfb8dbca878617aaae1d0b
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Wed Nov 28 17:00:13 2018 +0100

    fixes

 wing/winginputstream.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/wing/winginputstream.c b/wing/winginputstream.c
index e9b35ae..e2c8901 100644
--- a/wing/winginputstream.c
+++ b/wing/winginputstream.c
@@ -22,6 +22,7 @@
 
 #include "winginputstream.h"
 #include "wingutils.h"
+#include "wingsource.h"
 
 #include <windows.h>
 
@@ -380,7 +381,7 @@ wing_input_stream_new (void     *handle,
 {
   g_return_val_if_fail (handle != NULL, NULL);
 
-  return g_object_new (G_TYPE_WIN32_INPUT_STREAM,
+  return g_object_new (WING_TYPE_INPUT_STREAM,
                        "handle", handle,
                        "close-handle", close_handle,
                        NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]