Add gtk_widget_get_style_color
authorMatthias Clasen <mclasen@redhat.com>
Wed, 12 Oct 2022 18:51:22 +0000 (14:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 12 Oct 2022 19:35:00 +0000 (15:35 -0400)
commit5627542d7cd70d74423d8da79cfa2aa85ff1966e
tree0265d2fcc282af62818193ae00a46013a252c695
parentf42fe500c90187afc75cbcdb52eee2f5c720cd1f
Add gtk_widget_get_style_color

There is a widespread need to access the CSS foreground
color for custom drawing in snapshot functions, so make
it available after gtk_style_context_get_color was
deprecated with a new widget api.
gtk/deprecated/gtkstylecontext.c
gtk/gtkwidget.c
gtk/gtkwidget.h