gtk3: replace deprecated GtkStyle accesses
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 24 Mar 2013 01:09:09 +0000 (01:09 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sun, 24 Mar 2013 04:22:31 +0000 (04:22 +0000)
commit39dc933631926a96e4c614ed9cb553692d08f06c
treee0fdec1c6cd88dca922ccaac520e62af9672ffdc
parent9875595cf4bcd2b3d6d065fa4d3d5049fe3d00d4
gtk3: replace deprecated GtkStyle accesses

GtkStyle and gtk_widget_get_style() are deprecated in GTK3, and can cause
exceptions in certain unclear circumstances, so replace it with code using
the more modern GtkStyleContext.

https://gna.org/bugs/?20637

Also draw the layout.py stuff specially again in GTK3: helps discriminate
the widgets.

Tested with MediterraneanNight and Greybird.
gui/brushselectionwindow.py
gui/colors/hcywheel.py
gui/colors/paletteview.py
gui/curve.py
gui/dialogs.py
gui/layout.py
gui/pixbuflist.py