summaryrefslogtreecommitdiff
path: root/gtk/gtkcsstransformvalue.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/gtkcsstransformvalue.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/gtkcsstransformvalue.c')
-rw-r--r--gtk/gtkcsstransformvalue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcsstransformvalue.c b/gtk/gtkcsstransformvalue.c
index 4439ba16ea..9c70dbb25e 100644
--- a/gtk/gtkcsstransformvalue.c
+++ b/gtk/gtkcsstransformvalue.c
@@ -174,7 +174,7 @@ gtk_css_transform_apply (const GtkCssTransform *transform,
graphene_matrix_init_from_matrix (matrix, &tmp);
break;
case GTK_CSS_TRANSFORM_TRANSLATE:
- graphene_matrix_translate (matrix, &(graphene_point3d_t)GRAPHENE_POINT3D_INIT(
+ graphene_matrix_translate (matrix, &GRAPHENE_POINT3D_INIT(
_gtk_css_number_value_get (transform->translate.x, 100),
_gtk_css_number_value_get (transform->translate.y, 100),
_gtk_css_number_value_get (transform->translate.z, 100)));