From 0576e82e9add63ff8e64139d2b760954b4721080 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 23 Oct 2023 14:37:35 +0100 Subject: [PATCH] docs: Move the GFileDescriptorBased SECTION Move it to the struct docs. Signed-off-by: Philip Withnall Helps: #3037 --- gio/gfiledescriptorbased.c | 12 +++++------- gio/gfiledescriptorbased.h | 5 ----- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/gio/gfiledescriptorbased.c b/gio/gfiledescriptorbased.c index 53f55fec0..5ebdf6eca 100644 --- a/gio/gfiledescriptorbased.c +++ b/gio/gfiledescriptorbased.c @@ -26,20 +26,18 @@ /** - * SECTION:gfiledescriptorbased - * @short_description: Interface for file descriptor based IO - * @include: gio/gfiledescriptorbased.h - * @see_also: #GInputStream, #GOutputStream + * GFileDescriptorBased: * - * #GFileDescriptorBased is implemented by streams (implementations of - * #GInputStream or #GOutputStream) that are based on file descriptors. + * `GFileDescriptorBased` is an interface for file descriptor based IO. + * + * It is implemented by streams (implementations of [class@Gio.InputStream] or + * [class@Gio.OutputStream]) that are based on file descriptors. * * Note that `` belongs to the UNIX-specific * GIO interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config * file when using it. * * Since: 2.24 - * **/ typedef GFileDescriptorBasedIface GFileDescriptorBasedInterface; diff --git a/gio/gfiledescriptorbased.h b/gio/gfiledescriptorbased.h index 46fdbf525..a512feb50 100644 --- a/gio/gfiledescriptorbased.h +++ b/gio/gfiledescriptorbased.h @@ -33,11 +33,6 @@ G_BEGIN_DECLS #define G_FILE_DESCRIPTOR_BASED_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE_DESCRIPTOR_BASED, GFileDescriptorBasedIface)) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileDescriptorBased, g_object_unref) -/** - * GFileDescriptorBased: - * - * An interface for file descriptor based io objects. - **/ typedef struct _GFileDescriptorBasedIface GFileDescriptorBasedIface; /**