[java-gnome-hackers] Editable
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2011-01-19 04:31:13
|
I've heard rumours that GtkEditable is going away (that, or it got strengthened and actually used - anyone know?) If it's going away that would make me happy; I am getting a little tired of the following entry.connect(new Entry.Changed() { public void onChanged(Editable editable) { final Entry source; source = (Entry) editable; source.doSomething(); } }); entry.connect(new Entry.Activate() { public void onActivate(Entry source) { source.doSomething(); } }; when clearly it should just be: entry.connect(new Entry.Changed() { public void onChanged(Entry source) { source.doSomething(); } }); entry.connect(new Entry.Activate() { public void onActivate(Entry source) { source.doSomething(); } }; Not the sort of thing we could mess with unless we had a real ABI break coming, but we do. This is on my list if its actually possible. Comments? I'm sure you've got things you want to fix too :) AfC Sydney -- Andrew Frederick Cowie | Consulting Engineer | Operational Dynamics ☏ +61 4 1079 6725 | ✍ +1 646 472 5054 | ♖ http://www.operationaldynamics.com |