Fix GTK frame clock warnings with our about dialog
commitec7071062c5dc39d5f893a830b3c26968a579251
authorColomban Wendling <ban@herbesfolles.org>
Sat, 21 Jun 2014 16:35:17 +0000 (21 18:35 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Sat, 21 Jun 2014 16:35:17 +0000 (21 18:35 +0200)
tree0604aa74979f7c4984ce3dfd3c7a49d45cebf920
parent40662e4c01c3eac83beb522d2e5bbc775b413724
Fix GTK frame clock warnings with our about dialog

We used to set the widget's style in a style-set handler, and despite
guarding ourselves from recursive invocations, the GTK frame clock
introduced by GTK 3.8 didn't like it very much.

So, replace the manual color modification by a simpler global widget
state modification, making the code simpler and smaller, yet achieving
the same result (or so I hope and see).
src/about.c