Enrico Tröger a écrit :
(I made the changes in src/notebook.c, I think there is no need (yet) to subclass GtkButton.)
True, I'm just used to subclass ^^
But your code has a defect: if the user switch theme to one using different icon size while Geany is running, the tab close buttons are not resized (try with "big size" Gnome themes f.e.). Seems simply miss style_set handlers I think.
Regards, Colomban
PS: I see the icons in the tag list are affected too, even if it part of another leak.