From 3d5d3bceea68be54e422b8c7491a4634d3096590 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Sep 2023 20:12:08 -0400 Subject: [PATCH] docs: Move the GBytesIcon SECTION Move the contents into the struct docs. Helps: #3037 --- gio/gbytesicon.c | 11 ++++------- gio/gbytesicon.h | 5 ----- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/gio/gbytesicon.c b/gio/gbytesicon.c index b402a5178..3e5c50314 100644 --- a/gio/gbytesicon.c +++ b/gio/gbytesicon.c @@ -33,16 +33,13 @@ /** - * SECTION:gbytesicon - * @short_description: An icon stored in memory as a GBytes - * @include: gio/gio.h - * @see_also: #GIcon, #GLoadableIcon, #GBytes + * GBytesIcon: * - * #GBytesIcon specifies an image held in memory in a common format (usually - * png) to be used as icon. + * `GBytesIcon` specifies an image held in memory in a common format (usually + * PNG) to be used as icon. * * Since: 2.38 - **/ + */ typedef GObjectClass GBytesIconClass; diff --git a/gio/gbytesicon.h b/gio/gbytesicon.h index c917d3816..1d5ccd72a 100644 --- a/gio/gbytesicon.h +++ b/gio/gbytesicon.h @@ -35,11 +35,6 @@ G_BEGIN_DECLS #define G_BYTES_ICON(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_BYTES_ICON, GBytesIcon)) #define G_IS_BYTES_ICON(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_BYTES_ICON)) -/** - * GBytesIcon: - * - * Gets an icon for a #GBytes. Implements #GLoadableIcon. - **/ GIO_AVAILABLE_IN_2_38 GType g_bytes_icon_get_type (void) G_GNUC_CONST;