GNOME Bugzilla – Bug 616586
Use GObject's boxed type for GError
Last modified: 2010-04-29 16:19:19 UTC
Hi, attached patch uses GObject's boxed type for GError if possible. This was added in GObject 2.25.2.
Created attachment 159386 [details] [review] gst: Use GError boxed type from GObject 2.25.2 instead of our own if possible
Should we add this into this core release?
> Should we add this into this core release? I don't think this is particularly urgent, is it? Besides, strictly speaking there is an element of ABI breakage here, since the type name changes and the old name disappears. I don't know of any code that looks up the type by name though, and unlike GstDate it's not serialisable, so it should probably be fine.
Dunno. The problem arises when people start assuming that GST_TYPE_G_ERROR == G_TYPE_ERROR (and there is no way to check that equality other than runtime). I'm not sure if people will ever assume this, but if they do, we'd better have it working right from day one.
commit b748da35d62eed88aa8b0f4d605e43033f2615a0 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Apr 23 06:24:56 2010 +0200 gst: Use GError boxed type from GObject 2.25.2 instead of our own if possibl