GNOME Bugzilla – Bug 614541
Add G_TYPE_ERROR boxed type for GError
Last modified: 2010-04-23 12:45:11 UTC
Hi, attached patch adds G_TYPE_ERROR as a boxed type for holding GErrors. This can be used for storing GError instances inside GValues for example.
Created attachment 157663 [details] [review] Add G_TYPE_ERROR as boxed type for GError
See also bug 300610. That one was WONTFIXed, but that was before we added boxed types for all the other glib things (e.g. GRegex, GArray etc).
Right, that's exactly the reason why I want it: GST_TYPE_GERROR is ugly and really the wrong place for a GType for GError.
I have no objection to adding that type.
Sounds great + good time since I'd like to use in GDBus for the ::disconnected signal (to convey what caused the disconnection). Thanks.
*** Bug 300610 has been marked as a duplicate of this bug. ***