Adding a child source to an already-attached parent source would
crash, because we were passing the parent's context when setting the
child's priority.
source->priv->child_sources = g_slist_prepend (source->priv->child_sources,
g_source_ref (child_source));
child_source->priv->parent_source = source;
- g_source_set_priority_unlocked (child_source, context, source->priority);
+ g_source_set_priority_unlocked (child_source, NULL, source->priority);
if (context)
{