aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalEvents.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/GlobalEvents.cxx')
-rw-r--r--src/GlobalEvents.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GlobalEvents.cxx b/src/GlobalEvents.cxx
index 664803ca..e4f335c9 100644
--- a/src/GlobalEvents.cxx
+++ b/src/GlobalEvents.cxx
@@ -78,7 +78,7 @@ GlobalEvents::Initialize()
#ifndef G_OS_WIN32
GIOChannel *channel = g_io_channel_unix_new(wake_fd.Get());
#else
- GIOChannel *channel = g_io_channel_win32_new_fd(wake_fd.Get());
+ GIOChannel *channel = g_io_channel_win32_new_socket(wake_fd.Get());
#endif
source_id = g_io_add_watch(channel, G_IO_IN,