gmain: fix adding a child source to an already-attached source
authorDan Winship <danw@gnome.org>
Sun, 15 Jan 2012 14:35:11 +0000 (09:35 -0500)
committerDan Winship <danw@gnome.org>
Sun, 15 Jan 2012 14:39:14 +0000 (09:39 -0500)
commit673396fb654036f7eb7ba152bb6966e48c1c0e5d
treedb5763ed8524681306361463288e0a3bda31d067
parent87dc86240835313f0cfe503b2d68a09301ad6240
gmain: fix adding a child source to an already-attached source

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.
glib/gmain.c