summaryrefslogtreecommitdiff
path: root/gtk/gtkrenderbackgroundprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-02-25 15:40:04 +0100
committerBenjamin Otte <otte@redhat.com>2016-02-25 16:52:58 +0100
commit71a9fd9d83f118abc2ed087792459f3e47a555dd (patch)
tree83fd1955a507bf77a204733eac57d8e398dfdaf7 /gtk/gtkrenderbackgroundprivate.h
parent374494b9285c88a5a16366a573eedc5e9537837f (diff)
downloadgtk+-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.h16
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