After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337092 - GError should be boxed
GError should be boxed
Status: RESOLVED DUPLICATE of bug 300610
Product: glib
Classification: Platform
Component: gobject
2.6.x
Other All
: Normal minor
: ---
Assigned To: Tim Janik
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-04-03 20:55 UTC by John Belmonte
Modified: 2010-04-01 10:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Belmonte 2006-04-03 20:55:10 UTC
gobject lib should register GError as a boxed type, along the lines of GValue,
GClosure, etc.

Other information:
Comment 1 Matthias Clasen 2006-04-04 17:29:50 UTC
Any particular reason why you think GError deserves this treatment, and not, 
e.g. GMarkupParser too ?
Comment 2 John Belmonte 2006-04-05 01:38:28 UTC
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.
Comment 3 Tim Janik 2006-04-18 10:09:13 UTC
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.
Comment 4 André Klapper 2006-09-14 18:23:07 UTC
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!
Comment 5 Christian Persch 2010-04-01 10:05:57 UTC

*** This bug has been marked as a duplicate of bug 300610 ***