/* Returns: TRUE if g_value_copy() is possible with @src_type and @dest_type.  */
gboolean g_value_type_compatible(GType src_type, GType dest_type)
/* Returns: TRUE if g_value_copy() is possible with @src_type and @dest_type.  */
gboolean g_value_type_compatible(GType src_type, GType dest_type)
{
  g_return_val_if_fail (G_TYPE_IS_VALUE (src_type), FALSE);
  g_return_val_if_fail (G_TYPE_IS_VALUE (dest_type), FALSE);
  return (g_type_is_a (src_type, dest_type) &&
	  g_type_value_table_peek (dest_type) == g_type_value_table_peek (src_type));
}