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 140015 - GstValue GTypes should not derive from G_TYPE_BOXED
GstValue GTypes should not derive from G_TYPE_BOXED
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-14 10:11 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that fixes the problem (1.92 KB, patch)
2004-04-14 10:13 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review

Description Johan (not receiving bugmail) Dahlin 2004-04-14 10:11:26 UTC
GstValue GTypes should not derive from G_TYPE_BOXED
Comment 1 Johan (not receiving bugmail) Dahlin 2004-04-14 10:13:55 UTC
Created attachment 26645 [details] [review]
Patch that fixes the problem

This is lying around in my tree, but I've been too scared to commit it.
Comment 2 Benjamin Otte (Company) 2004-04-15 02:38:52 UTC
This is not right either, because an int range is not an int. And a list
definitely isn't.
They're not boxed either.
What we'd need would be inheriting from some magic G_TYPE_NONE, but I don't
think that's possible, or is it?

I can confirm that this patch doesn't break anything. It doesn't fix anything
either, though.
Comment 3 David Schleef 2004-04-15 03:03:59 UTC
Indeed, this is the conclusion I came to.  We really need to get a range of
fundamental types assigned by the glib people, since these are really
fundamental types.  This was done for a few other projects, it appears.
Comment 4 David Schleef 2004-04-16 02:29:23 UTC
Er, duh.  Fundamental types can be dynamically allocated, which I hadn't
realized before.  'make check' works with these types registered by
g_type_fundamental_register(), so I'll check it in.