[Spice-devel] [PATCH spice-gtk v2 12/19] coroutine: reference object when signaling
Christophe Fergeau
cfergeau at redhat.com
Fri Nov 14 06:34:00 PST 2014
On Fri, Nov 14, 2014 at 09:31:13AM -0500, Marc-André Lureau wrote:
>
>
> ----- Original Message -----
> > On Fri, Nov 14, 2014 at 12:32:35AM +0100, Marc-André Lureau wrote:
> > > Before the signal is actually emitted, the channel may be
> > > released. Let's keep a reference to the object during
> > > the function time, to prevent the object from being destroyed before
> > > calling g_signal_emit() in main context.
> >
> > g_signal_emit()/g_object_notify() in main context.
> >
>
> Well it's for both, and g_object_notify() is a kind of g_signal_emit().
Yes, it's for both, hence my suggestion of mentioning both ;)
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141114/76ae798b/attachment.sig>
More information about the Spice-devel
mailing list