From 754047849c8e9569362d39f5247506a6a84ee33a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 2 Nov 2023 16:28:37 +0000 Subject: [PATCH] docs: Move the GWin32*Stream SECTIONs Move them to the struct docs. Signed-off-by: Philip Withnall Helps: #3037 --- gio/gwin32inputstream.c | 7 ++----- gio/gwin32inputstream.h | 5 ----- gio/gwin32outputstream.c | 7 ++----- gio/gwin32outputstream.h | 5 ----- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/gio/gwin32inputstream.c b/gio/gwin32inputstream.c index 685d6f295..233f6ed1f 100644 --- a/gio/gwin32inputstream.c +++ b/gio/gwin32inputstream.c @@ -36,12 +36,9 @@ #include "glibintl.h" /** - * SECTION:gwin32inputstream - * @short_description: Streaming input operations for Windows file handles - * @include: gio/gwin32inputstream.h - * @see_also: #GInputStream + * GWin32InputStream: * - * #GWin32InputStream implements #GInputStream for reading from a + * `GWin32InputStream` implements [class@Gio.InputStream] for reading from a * Windows file handle. * * Note that `` belongs to the Windows-specific GIO diff --git a/gio/gwin32inputstream.h b/gio/gwin32inputstream.h index 8dde9e803..53c7d78cf 100644 --- a/gio/gwin32inputstream.h +++ b/gio/gwin32inputstream.h @@ -35,11 +35,6 @@ G_BEGIN_DECLS #define G_IS_WIN32_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_WIN32_INPUT_STREAM)) #define G_WIN32_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_WIN32_INPUT_STREAM, GWin32InputStreamClass)) -/** - * GWin32InputStream: - * - * Implements #GInputStream for reading from selectable Windows file handles - **/ typedef struct _GWin32InputStream GWin32InputStream; typedef struct _GWin32InputStreamClass GWin32InputStreamClass; typedef struct _GWin32InputStreamPrivate GWin32InputStreamPrivate; diff --git a/gio/gwin32outputstream.c b/gio/gwin32outputstream.c index b88f05c82..b3ad407de 100644 --- a/gio/gwin32outputstream.c +++ b/gio/gwin32outputstream.c @@ -37,12 +37,9 @@ #include "glibintl.h" /** - * SECTION:gwin32outputstream - * @short_description: Streaming output operations for Windows file handles - * @include: gio/gwin32outputstream.h - * @see_also: #GOutputStream + * GWin32OutputStream: * - * #GWin32OutputStream implements #GOutputStream for writing to a + * `GWin32OutputStream` implements [class@Gio.OutputStream] for writing to a * Windows file handle. * * Note that `` belongs to the Windows-specific GIO diff --git a/gio/gwin32outputstream.h b/gio/gwin32outputstream.h index d64fdc176..35942ca88 100644 --- a/gio/gwin32outputstream.h +++ b/gio/gwin32outputstream.h @@ -35,11 +35,6 @@ G_BEGIN_DECLS #define G_IS_WIN32_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_WIN32_OUTPUT_STREAM)) #define G_WIN32_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_WIN32_OUTPUT_STREAM, GWin32OutputStreamClass)) -/** - * GWin32OutputStream: - * - * Implements #GOutputStream for outputting to Windows file handles - **/ typedef struct _GWin32OutputStream GWin32OutputStream; typedef struct _GWin32OutputStreamClass GWin32OutputStreamClass; typedef struct _GWin32OutputStreamPrivate GWin32OutputStreamPrivate;