summaryrefslogtreecommitdiff
path: root/gtk/gtkrenderbackground.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-11-21 16:21:38 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2016-11-21 16:21:38 +0000
commit4cbe07976741b4b98ef34dc9f2151b33698823c4 (patch)
tree475d9bbd53e564e9324365976bb0c13776ffcc90 /gtk/gtkrenderbackground.c
parent8e5e165f79b2aada3d9d051b8bfe17ca79b139ce (diff)
downloadgtk+-4cbe07976741b4b98ef34dc9f2151b33698823c4.tar.gz
Use Graphene init macros for compound literals
The Graphene init macros can now be used for compound literals, which means we need to update our mixed uses.
Diffstat (limited to 'gtk/gtkrenderbackground.c')
-rw-r--r--gtk/gtkrenderbackground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c
index 11c70b81b2..9388dd81a0 100644
--- a/gtk/gtkrenderbackground.c
+++ b/gtk/gtkrenderbackground.c
@@ -465,7 +465,7 @@ gtk_css_style_snapshot_background (GtkCssStyle *style,
* background. GSK can't do that yet.
*/
cr = gtk_snapshot_append_cairo_node (snapshot,
- &(graphene_rect_t)GRAPHENE_RECT_INIT(0, 0, width, height),
+ &GRAPHENE_RECT_INIT (0, 0, width, height),
"Background");
_gtk_theming_background_paint_color (&bg, cr, bg_color, background_image);