GNOME Bugzilla – Bug 551271
deprecate GRelation
Last modified: 2010-06-24 02:37:47 UTC
Has anyone ever used GRelation? Might be worth cleaning out in 3.0
Another candidate is GCompletion. The GHook stuff seems to be used only in gsignal.
I vote for keeping GHook, I use it in gthumb as part of the extension mechanism.
(In reply to comment #2) > I vote for keeping GHook, I use it in gthumb as part of the extension > mechanism. libpeas? introspection?
I really, really wanted to use GRelation as what it was intended to be. However with the fields limited to 2, it's not much use :(
I wanted to use GRelation as well at least on a handul occasions, but as Stef also did I had to abandon it because of the restriction to 2 fields. Perhaps one day we'll see a full featured Gee.Relation... GCompletion seems to have very limited use: http://google.com/codesearch?q=\bg_completion+-file%3Aglib (but still some use). And a little more usage of GHook, but not much: http://google.com/codesearch?q=\bg_hook+-file%3Aglib So, all in all, no protest on my account :-)
(In reply to comment #3) > (In reply to comment #2) > > I vote for keeping GHook, I use it in gthumb as part of the extension > > mechanism. > > libpeas? introspection? yes, but I don't have the time to port it to libpeas for now.
deprecation != removal.
(In reply to comment #7) > deprecation != removal. right, but if I'm correct deprecation means that it will be removed at some point in the future. Anyway if you think that GHook it's not useful enough to keep it in glib I can just copy it locally when it will be removed.
(In reply to comment #8) > (In reply to comment #7) > > deprecation != removal. > > right, but if I'm correct deprecation means that it will be removed at some > point in the future. There are no plans for GLib 3.0 (i.e. no binary incompatible library release), as that would be an enormous train wreck.
what's the point of deprecating it then, considering that there is no suggested replacement?
The point is to state that these apis have not been 'successful', and are not widely used, and will not receive feature additions and heavy bug-fixing. And if there ever comes a time to rev the glib abi, they will go.
ah ok, then I have no objection to the deprecation.
I've done this now for GRelation and GCompletion.