cockpit-project/cockpit — pull request #1421 by stefwalter (2014-11-03 14:02:54+00:00)
Title: bridge: Add CockpitChannel prepare virtual function

This is called in a high priority idler to avoid each channel
having to do this themselves. This is because there's a guarantee
that the channel won't close before g_object_new() returns ...
so doing it this way allows us to keep that guarantee, and yet
not have idle callbacks all over the place.