From 174073722e23dfec8ce1d2b1085b40cca6490e5e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Sep 2023 20:55:57 -0400 Subject: [PATCH] docs: Move the GConverter SECTION Move the content to the struct docs. Helps: #3037 --- gio/gconverter.c | 11 +++++------ gio/gconverter.h | 7 ------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/gio/gconverter.c b/gio/gconverter.c index 57ee1b904..973224fd1 100644 --- a/gio/gconverter.c +++ b/gio/gconverter.c @@ -26,12 +26,11 @@ /** - * SECTION:gconverter - * @short_description: Data conversion interface - * @include: gio/gio.h - * @see_also: #GInputStream, #GOutputStream + * GConverter: * - * #GConverter is implemented by objects that convert + * `GConverter` is an interface for streaming conversions. + * + * `GConverter` is implemented by objects that convert * binary data in various ways. The conversion can be * stateful and may fail at any place. * @@ -40,7 +39,7 @@ * replace. * * Since: 2.24 - **/ + */ typedef GConverterIface GConverterInterface; diff --git a/gio/gconverter.h b/gio/gconverter.h index 16e94a1bd..87afbf3b6 100644 --- a/gio/gconverter.h +++ b/gio/gconverter.h @@ -36,13 +36,6 @@ G_BEGIN_DECLS #define G_IS_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_CONVERTER)) #define G_CONVERTER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_CONVERTER, GConverterIface)) -/** - * GConverter: - * - * Seek object for streaming operations. - * - * Since: 2.24 - **/ typedef struct _GConverterIface GConverterIface; /**