/* This is typically called automatically by e.g. #GFile operations, so you rarely have to call this yourself.  */
void g_cancellable_push_current(GCancellable *cancellable)
/* This is typically called automatically by e.g. #GFile operations, so you rarely have to call this yourself.  */
void g_cancellable_push_current(GCancellable *cancellable)
{
  GSList *l;
  g_return_if_fail (cancellable != NULL);
  l = g_private_get (&current_cancellable);
  l = g_slist_prepend (l, cancellable);
  g_private_set (&current_cancellable, l);
}