g_source_add_child_source: sync blocked state
authorDan Winship <danw@gnome.org>
Wed, 18 Jul 2012 18:19:36 +0000 (14:19 -0400)
committerDan Winship <danw@gnome.org>
Wed, 18 Jul 2012 18:19:36 +0000 (14:19 -0400)
commitee6e66cb4483d82fcb0657d13faebf844258c70b
tree1a847cd853de2c431e379c19ff1716aaf7b6fd39
parent2855b827da44144c76b72d8cfec9599a835df4ea
g_source_add_child_source: sync blocked state

Child sources are supposed to be blocked when their parents are, so
when adding a source to a blocked source, block the child too. Fixes a
warning when unblocking the parent.
glib/gmain.c