summaryrefslogtreecommitdiff
path: root/glib.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-08-27 15:33:15 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-08-27 15:33:15 +0000
commit55cd16c99323958546409e5feb60bdd6363583d6 (patch)
tree2d7e7e08451a8935651d7d52bb5e03e7b199dcc9 /glib.h
parent3d0a1b3b221d32a53557a3512ab6eeadbf816352 (diff)
downloadglib-55cd16c99323958546409e5feb60bdd6363583d6.tar.gz
Hmm, the parameter to g_io_channel_win32_poll() should be a GPollFD array,
2000-08-27 Tor Lillqvist <tml@iki.fi> Hmm, the parameter to g_io_channel_win32_poll() should be a GPollFD array, not GIOChannel. That way the caller can know which channels cause the callback.
Diffstat (limited to 'glib.h')
-rw-r--r--glib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib.h b/glib.h
index 31805ddea..3b3b4c236 100644
--- a/glib.h
+++ b/glib.h
@@ -2925,8 +2925,8 @@ gint g_io_channel_unix_get_fd (GIOChannel *channel);
* On Unix you would do a select() on the file descriptors of the channels.
* This should probably be available for all platforms?
*/
-gint g_io_channel_win32_poll (GIOChannel **channels,
- gint n_channels,
+gint g_io_channel_win32_poll (GPollFD *fds,
+ gint n_fds,
GIOCondition condition,
gint timeout);