/* Removes an element, without calling its destroy notifier.  */
gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location, GQuark key_id)
/* Removes an element, without calling its destroy notifier.  */
gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location, GQuark key_id)
{
  gpointer ret_data = NULL;
  g_return_val_if_fail (dataset_location != NULL, NULL);
  G_LOCK (g_dataset_global);
  if (key_id && g_dataset_location_ht)
    {
      GDataset *dataset;
      dataset = g_dataset_lookup (dataset_location);
      if (dataset)
	ret_data = g_data_set_internal (&dataset->datalist, key_id, NULL, (GDestroyNotify) 42, dataset);
    } 
  G_UNLOCK (g_dataset_global);
  return ret_data;
}