diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-11-21 16:21:38 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-11-21 16:21:38 +0000 |
commit | 4cbe07976741b4b98ef34dc9f2151b33698823c4 (patch) | |
tree | 475d9bbd53e564e9324365976bb0c13776ffcc90 /gtk/gtkcsstransformvalue.c | |
parent | 8e5e165f79b2aada3d9d051b8bfe17ca79b139ce (diff) | |
download | gtk+-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.c | 2 |
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))); |