docs: Move the GBytesIcon SECTION

Move the contents into the struct docs.

Helps: #3037
This commit is contained in:
Matthias Clasen 2023-09-26 20:12:08 -04:00 committed by Philip Withnall
parent 93788dfb07
commit 3d5d3bceea
2 changed files with 4 additions and 12 deletions

View File

@ -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;

View File

@ -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;