GNOME Bugzilla – Bug 633202
Don't hide deprecated methods
Last modified: 2011-05-16 16:47:39 UTC
When GJS was first created this sort of made sense to unilaterally axe off all deprecated API. However, since its creation, new functions have been deprecated in libraries like GTK2, and it doesn't make sense for scripts to start exploding immediately. As for handling this better: A strawman proposal is some environment variable like G_SCRIPT_RECORD_DEPRECATED=1 which prints exactly one warning for each deprecated method? Opinions?
Created attachment 173269 [details] [review] Don't hide deprecated methods
I want gdk_display_get_pointer(), so I'm just going to apply this.
(In reply to comment #2) > I want gdk_display_get_pointer() Not unless you're going to fix bug 597292 first...
(In reply to comment #3) > Not unless you're going to fix bug 597292 first... /me reads the next message in his inbox...
Attachment 173269 [details] pushed as 1d36738 - Don't hide deprecated methods