summaryrefslogtreecommitdiff
path: root/gtk/gtkroundedboxprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-13 20:15:01 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:10 +0100
commitc04bece131ad7afec609c336b3f4735a9e1af279 (patch)
tree7a576403aa236cd673206a92d3af71c09655eb93 /gtk/gtkroundedboxprivate.h
parent6d012fb4ea1900d02161378a8aaa0467e915feb2 (diff)
downloadgtk+-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.h8
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,