From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2008-04-09 21:11:56
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=526814 GStreamer | gstreamer (core) | Ver: HEAD CVS ------- Comment #10 from José Alburquerque 2008-04-09 21:12 UTC ------- (In reply to comment #9) > (In reply to comment #8) > > > The problem, I think, is that a GDestroyNotify does not notify when signals are > > > disconnected. > > > > It would in this case. It would be the exact same thing, the question is just > > what the notify callback is supposed to look like (GDestroyNotify only has one > > argument, namely the data argument, while GClosureNotify has two, namely the > > data argument and a GClosure argument). I guess this is a bit hacky and C-ish, > > I just think exposing a GClosureNotify might be confusing, that's all. I'll ask > > some other people for opinions. > > > > If the GDestroyNotify notifies on signal disconnection (as GClosureNotify > does), it would fine in this case. I see what you mean by the callback needing > two arguments for a GClosureNotify. In this case, the GClosure argument is not > used (all that the bindings need is the data pointer). If it's ok, I'll make > changes using GDestroyNotify and submit a new patch. > On second thought, if you're able to ask others for opinions, you may be able to find how to best do this. I don't quite understand what needs to be done to use a GDestroyNotify so I'll leave it in your hands to advise as to how to best proceed. Thanks. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=526814. |