docs: Move the GFileIcon SECTION

Move it to the struct docs.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-10-23 13:41:09 +01:00
parent ac6cc7e2b6
commit c8abf62ff1
2 changed files with 4 additions and 11 deletions

View File

@ -33,15 +33,13 @@
/**
* SECTION:gfileicon
* @short_description: Icons pointing to an image file
* @include: gio/gio.h
* @see_also: #GIcon, #GLoadableIcon
* GFileIcon:
*
* #GFileIcon specifies an icon by pointing to an image file
* `GFileIcon` specifies an icon by pointing to an image file
* to be used as icon.
*
**/
* It implements [iface@Gio.LoadableIcon].
*/
static void g_file_icon_icon_iface_init (GIconIface *iface);
static void g_file_icon_loadable_icon_iface_init (GLoadableIconIface *iface);

View File

@ -38,11 +38,6 @@ G_BEGIN_DECLS
#define G_IS_FILE_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_ICON))
#define G_FILE_ICON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_ICON, GFileIconClass))
/**
* GFileIcon:
*
* Gets an icon for a #GFile. Implements #GLoadableIcon.
**/
typedef struct _GFileIconClass GFileIconClass;
GIO_AVAILABLE_IN_ALL