I actually prefer destroy because it makes more sense grammatically, to go along with create.
Sent from Yahoo Mail on Android On Fri, Dec 22, 2017 at 9:07 AM, Chris Angelico<ros...@gmail.com> wrote: On Sat, Dec 23, 2017 at 12:42 AM, Henrik Grubbström (Lysator) @ Pike (-) developers forum <10...@lyskom.lysator.liu.se> wrote: > Note that AFAIK destruct() in some GTK2 classes is a public function > (and thus part of the API). Do you mean destroy? It got renamed in the big _destruct rename, and it was because I'd been using it that I started poking around and finding this. But I'm quite okay with the API being "destruct(obj)" rather than "obj->destroy()", as long as it works reliably. ChrisA