diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-10-31 14:56:00 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-11-01 14:47:25 +1300 |
commit | 59a24ab5a3ffff7d2cd36a1b392b49cc4024c29d (patch) | |
tree | 665403b054262f110c0a1ba537bfa264619b0d06 /glib/giowin32.c | |
parent | 4447d5ce1117f261e7a2a935cd9a62340d436a74 (diff) | |
download | glib-59a24ab5a3ffff7d2cd36a1b392b49cc4024c29d.tar.gz |
Use "Returns:" instead of the invalid "@returns" for annotating return values.
https://bugzilla.gnome.org/show_bug.cgi?id=673229
Diffstat (limited to 'glib/giowin32.c')
-rw-r--r-- | glib/giowin32.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/glib/giowin32.c b/glib/giowin32.c index d39a4b2ef..10667ece5 100644 --- a/glib/giowin32.c +++ b/glib/giowin32.c @@ -1972,12 +1972,13 @@ static GIOFuncs win32_channel_sock_funcs = { /** * g_io_channel_win32_new_messages: * @hwnd: a window handle. - * @Returns: a new #GIOChannel. * * Creates a new #GIOChannel given a window handle on Windows. * * This function creates a #GIOChannel that can be used to poll for * Windows messages for the window in question. + * + * Returns: a new #GIOChannel. **/ GIOChannel * #if GLIB_SIZEOF_VOID_P == 8 @@ -2045,7 +2046,6 @@ g_io_channel_win32_new_fd_internal (gint fd, /** * g_io_channel_win32_new_fd: * @fd: a C library file descriptor. - * @Returns: a new #GIOChannel. * * Creates a new #GIOChannel given a file descriptor on Windows. This * works for file descriptors from the C runtime. @@ -2069,6 +2069,8 @@ g_io_channel_win32_new_fd_internal (gint fd, * thread. Your code should call only g_io_channel_read(). * * This function is available only in GLib on Windows. + * + * Returns: a new #GIOChannel. **/ GIOChannel * g_io_channel_win32_new_fd (gint fd) @@ -2095,7 +2097,6 @@ g_io_channel_win32_get_fd (GIOChannel *channel) /** * g_io_channel_win32_new_socket: * @socket: a Winsock socket - * @Returns: a new #GIOChannel * * Creates a new #GIOChannel given a socket on Windows. * @@ -2105,6 +2106,8 @@ g_io_channel_win32_get_fd (GIOChannel *channel) * Polling a #GSource created to watch a channel for a socket puts the * socket in non-blocking mode. This is a side-effect of the * implementation and unavoidable. + * + * Returns: a new #GIOChannel **/ GIOChannel * g_io_channel_win32_new_socket (int socket) |