summaryrefslogtreecommitdiffstats
path: root/src/circle.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-16 16:36:44 +0200
committerDavid Robillard <d@drobilla.net>2018-09-16 17:08:00 +0200
commit43373dd610017d7e78672e473a36285a92254f2e (patch)
treea348bc2558f25f70e805ab0b3ecb419543fa387b /src/circle.c
parent0f916d226847cf034693ea1c0427929c4fa0e46e (diff)
downloadganv-43373dd610017d7e78672e473a36285a92254f2e.tar.gz
ganv-43373dd610017d7e78672e473a36285a92254f2e.tar.bz2
ganv-43373dd610017d7e78672e473a36285a92254f2e.zip
Rename private implementation types according to new Gtk conventions
Diffstat (limited to 'src/circle.c')
-rw-r--r--src/circle.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/circle.c b/src/circle.c
index 87cc59f..9d19971 100644
--- a/src/circle.c
+++ b/src/circle.c
@@ -39,7 +39,7 @@ static void
ganv_circle_init(GanvCircle* circle)
{
circle->impl = G_TYPE_INSTANCE_GET_PRIVATE(
- circle, GANV_TYPE_CIRCLE, GanvCircleImpl);
+ circle, GANV_TYPE_CIRCLE, GanvCirclePrivate);
memset(&circle->impl->coords, '\0', sizeof(GanvCircleCoords));
circle->impl->coords.radius = 0.0;
@@ -257,8 +257,8 @@ ganv_circle_bounds(GanvItem* item,
static void
ganv_circle_update(GanvItem* item, int flags)
{
- GanvCircle* circle = GANV_CIRCLE(item);
- GanvCircleImpl* impl = circle->impl;
+ GanvCircle* circle = GANV_CIRCLE(item);
+ GanvCirclePrivate* impl = circle->impl;
impl->coords.width = circle->node.impl->border_width;
// Request redraw of old location
@@ -283,9 +283,9 @@ static void
ganv_circle_draw(GanvItem* item,
cairo_t* cr, double cx, double cy, double cw, double ch)
{
- GanvNode* node = GANV_NODE(item);
- GanvCircle* circle = GANV_CIRCLE(item);
- GanvCircleImpl* impl = circle->impl;
+ GanvNode* node = GANV_NODE(item);
+ GanvCircle* circle = GANV_CIRCLE(item);
+ GanvCirclePrivate* impl = circle->impl;
double r, g, b, a;
@@ -366,7 +366,7 @@ ganv_circle_class_init(GanvCircleClass* klass)
parent_class = GANV_NODE_CLASS(g_type_class_peek_parent(klass));
- g_type_class_add_private(klass, sizeof(GanvCircleImpl));
+ g_type_class_add_private(klass, sizeof(GanvCirclePrivate));
gobject_class->set_property = ganv_circle_set_property;
gobject_class->get_property = ganv_circle_get_property;