Revert "pygobject: small tweaks."

This reverts commit d9e58ab543b80170650e65dcc2ed6b985fa26257.

revert it.