This is similar to connect_data, but uses a closure which
ensures that the
gobject stays alive during the call to
c_handler by temporarily adding a reference count to
gobject is destroyed the signal handler will be automatically disconnected. Note that this is not currently threadsafe (
ie: emitting a signal while
gobject is being destroyed in another thread is not safe).
the instance to connect to.
a string of the form "signal-name:
the object to pass as data to
the ObjectConstructorFunc to connect.
a combination of ConnectFlags.
the handler id.