GNOME Bugzilla – Bug 337092
GError should be boxed
Last modified: 2010-04-01 10:05:57 UTC
gobject lib should register GError as a boxed type, along the lines of GValue, GClosure, etc. Other information:
Any particular reason why you think GError deserves this treatment, and not, e.g. GMarkupParser too ?
On one hand I see a difference in that GError is listed as a core type, so that can be used as an argument. But on the other I wonder if gobject shouldn't take care of registering all significant glib types. Eventually someone will want to have a GMarkupParser as a property or signal argument, etc.
so far, we have followed the policy to add boxed/etc types "on demand". as for GError, for most APIs, a GError** is passed, which doesn't properly map onto a boxed type. so unless a particular reason is given to wrap up GError specifically as a boxed type, this bug will be closed.
Closing this bug report as no further information has been provided. John, please feel free to reopen this bug if you can provide the information Tim and Matthias asked for. Thanks!
*** This bug has been marked as a duplicate of bug 300610 ***