summaryrefslogtreecommitdiff
path: root/glib/giochannel.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2003-06-05 22:18:27 +0000
committerTor Lillqvist <tml@src.gnome.org>2003-06-05 22:18:27 +0000
commit1cf610e216072fdb49d170d898bd4b7178ea3d2b (patch)
tree5ce0b3c592bbf0f69b36945f5dc41c9b4cad3b1c /glib/giochannel.h
parent99c0940b7894a32246d190a70fb348e326b4fa50 (diff)
downloadglib-1cf610e216072fdb49d170d898bd4b7178ea3d2b.tar.gz
glib/giochannel.h Remove bogus (Win32-only) declaration of
2003-06-05 Tor Lillqvist <tml@iki.fi> * glib/giochannel.h * glib/gmain.h: Remove bogus (Win32-only) declaration of g_main_poll_win32_msg_add(). No such function exists. * glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for better warning messages.
Diffstat (limited to 'glib/giochannel.h')
-rw-r--r--glib/giochannel.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/glib/giochannel.h b/glib/giochannel.h
index d8da25197..c09b3b6a2 100644
--- a/glib/giochannel.h
+++ b/glib/giochannel.h
@@ -296,6 +296,10 @@ GLIB_VAR GSourceFuncs g_io_watch_funcs;
#ifdef G_OS_WIN32
+/* You can use this "pseudo file descriptor" in a GPollFD to add
+ * polling for Windows messages. GTK applications should not do that.
+ */
+
#define G_WIN32_MSG_HANDLE 19981206
/* Use this to get a GPollFD from a GIOChannel, so that you can call
@@ -315,13 +319,6 @@ gint g_io_channel_win32_poll (GPollFD *fds,
gint n_fds,
gint timeout_);
-/* This is used to add polling for Windows messages. GDK (GTk+) programs
- * should *not* use this.
- */
-void g_main_poll_win32_msg_add (gint priority,
- GPollFD *fd,
- guint hwnd);
-
/* Create an IO channel for Windows messages for window handle hwnd. */
GIOChannel *g_io_channel_win32_new_messages (guint hwnd);