/* Returns: TRUE if the two strings are identical or equivalent, FALSE otherwise.  */
gboolean g_content_type_equals(const gchar *type1, const gchar *type2)
/* Returns: TRUE if the two strings are identical or equivalent, FALSE otherwise.  */
gboolean g_content_type_equals(const gchar *type1, const gchar *type2)
{
  gboolean res;
  g_return_val_if_fail (type1 != NULL, FALSE);
  g_return_val_if_fail (type2 != NULL, FALSE);
  G_LOCK (gio_xdgmime);
  res = xdg_mime_mime_type_equal (type1, type2);
  G_UNLOCK (gio_xdgmime);
  return res;
}