/* Pops @cancellable off the cancellable stack (verifying that @cancellable is on the top of the stack).  */
void g_cancellable_pop_current(GCancellable *cancellable)
/* Pops @cancellable off the cancellable stack (verifying that @cancellable is on the top of the stack).  */
void g_cancellable_pop_current(GCancellable *cancellable)
{
  GSList *l;
  l = g_private_get (&current_cancellable);
  g_return_if_fail (l != NULL);
  g_return_if_fail (l->data == cancellable);
  l = g_slist_delete_link (l, l);
  g_private_set (&current_cancellable, l);
}