Request to suppress the "GTKButton has no property named inner-border" error
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
This is a follow-up to #15949 (closed).
It is a quick (and dirty?) patch that supresses the "gtkwidget.c:7306: widget class 'GtkButton' has no property named `inner-border'" warning that appears on the console if your gtk2 version is an older one.
This warning is display for each and every button that is created in your app (which will also slow down your app).
The patch suppresses all but the first warning on the console.
(Alternatively, if we know from what version of GTK2 the property is supported, we could write a more elegant/sophisticated solution?).
@luiz: I took the liberty of assigning this to you. Feel free to reject the soulution, or even the intention of it ;-)
Mantis conversion info:
- Mantis ID: 16015
- OS: Suse Linux
- OS Build: 10.0
- Build: r24051
- Platform: i386
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 24228 (#ee9e7430)
- Target version: 0.9.30