diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-13 20:15:01 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:10 +0100 |
commit | c04bece131ad7afec609c336b3f4735a9e1af279 (patch) | |
tree | 7a576403aa236cd673206a92d3af71c09655eb93 /gtk/gtkroundedboxprivate.h | |
parent | 6d012fb4ea1900d02161378a8aaa0467e915feb2 (diff) | |
download | gtk+-c04bece131ad7afec609c336b3f4735a9e1af279.tar.gz |
roundedbox: Use a graphene_size_t for the corners
Obviously, I'm trying to port GtkRoundedBox to GskRoundedRect.
This is the second step on that path.
Diffstat (limited to 'gtk/gtkroundedboxprivate.h')
-rw-r--r-- | gtk/gtkroundedboxprivate.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/gtkroundedboxprivate.h b/gtk/gtkroundedboxprivate.h index dd0a273dde..2053943750 100644 --- a/gtk/gtkroundedboxprivate.h +++ b/gtk/gtkroundedboxprivate.h @@ -29,17 +29,11 @@ G_BEGIN_DECLS typedef struct _GtkRoundedBox GtkRoundedBox; -typedef struct _GtkRoundedBoxCorner GtkRoundedBoxCorner; - -struct _GtkRoundedBoxCorner { - double horizontal; - double vertical; -}; struct _GtkRoundedBox { /*< private >*/ cairo_rectangle_t box; - GtkRoundedBoxCorner corner[4]; + graphene_size_t corner[4]; }; void _gtk_rounded_box_init_rect (GtkRoundedBox *box, |