diff options
author | Benjamin Otte <otte@redhat.com> | 2016-02-25 15:40:04 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-02-25 16:52:58 +0100 |
commit | 71a9fd9d83f118abc2ed087792459f3e47a555dd (patch) | |
tree | 83fd1955a507bf77a204733eac57d8e398dfdaf7 /gtk/gtkrenderbackgroundprivate.h | |
parent | 374494b9285c88a5a16366a573eedc5e9537837f (diff) | |
download | gtk+-71a9fd9d83f118abc2ed087792459f3e47a555dd.tar.gz |
stylecontext: Move background_is_opaque() function
The new way, it no longer depends on the style context, but on the
CssStyle. This will become relevant in the next commit.
Diffstat (limited to 'gtk/gtkrenderbackgroundprivate.h')
-rw-r--r-- | gtk/gtkrenderbackgroundprivate.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk/gtkrenderbackgroundprivate.h b/gtk/gtkrenderbackgroundprivate.h index b893b69397..52a6ffd687 100644 --- a/gtk/gtkrenderbackgroundprivate.h +++ b/gtk/gtkrenderbackgroundprivate.h @@ -28,13 +28,15 @@ G_BEGIN_DECLS -void gtk_css_style_render_background (GtkCssStyle *style, - cairo_t *cr, - gdouble x, - gdouble y, - gdouble width, - gdouble height, - GtkJunctionSides junction); +void gtk_css_style_render_background (GtkCssStyle *style, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkJunctionSides junction); +gboolean gtk_css_style_render_background_is_opaque (GtkCssStyle *style); + G_END_DECLS |