/* Returns: TRUE if @type is a kind of @supertype, FALSE otherwise.  */
gboolean g_content_type_is_a(const gchar *type, const gchar *supertype)
/* Returns: TRUE if @type is a kind of @supertype, FALSE otherwise.  */
gboolean g_content_type_is_a(const gchar *type, const gchar *supertype)
{
  gboolean res;
  g_return_val_if_fail (type != NULL, FALSE);
  g_return_val_if_fail (supertype != NULL, FALSE);
  G_LOCK (gio_xdgmime);
  res = xdg_mime_mime_type_subclass (type, supertype);
  G_UNLOCK (gio_xdgmime);
  return res;
}