docs: Replace deprecated Virtual tag

Use the (virtual) symbol annotation.
This commit is contained in:
Emmanuele Bassi
2023-10-15 15:25:40 +01:00
committed by Philip Withnall
parent 47faa032cb
commit d026534753
8 changed files with 25 additions and 53 deletions

View File

@@ -84,14 +84,13 @@ g_icon_default_init (GIconInterface *iface)
}
/**
* g_icon_hash:
* g_icon_hash: (hash)
* @icon: (not nullable) (type Gio.Icon): #gconstpointer to an icon object.
*
* Gets a hash for an icon.
*
* Virtual: hash
* Returns: a #guint containing a hash for the @icon, suitable for
* use in a #GHashTable or similar data structure.
* use in a #GHashTable or similar data structure.
**/
guint
g_icon_hash (gconstpointer icon)