[java-gnome-hackers] Deprecated APIs
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2008-06-19 08:51:14
|
Martyn Russell posted a list of all the deprecated APIs in GTK. Since they're all going to disappear pretty soon, and more to the point, we don't present deprecated APIs in underlying libraries, we certainly don't need to have any of them in our generated translation and JNI layers. I did this: $ cd generated/bindings/org/gnome/gtk/ $ for i in `cat ~/Desktop/deprecated-apis.txt` do grep $i *.c done and was quite unimpressed with how much we have in our generated code that we don't need. What a waste of space in our .jar and .so! I had thought that most of the stuff that was obscelete was marked with (deprecated ...) lines [or, in the case of deprecated classes, removed entirely] but I guess not. If someone wants to go through and patch the .defs data to add (deprecated...) lines to each of the blocks corresponding to these functions, it'd be a nice contribution. Martyn's original lists are attached [I'm not sure what he used to generate these, so you will, of course, need to quality control the information before acting]. AfC Sydney -------- Forwarded Message -------- From: Martyn Russell <ma...@im...> Cc: gtk...@gn..., gtk...@gn... Subject: Re: GTK 3.0: an app developer's view Date: Tue, 17 Jun 2008 10:05:28 +0100 I just put together quickly a few lists of ALL things marked as deprecated right now.... |