summaryrefslogtreecommitdiffstats
path: root/src/edge.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-21 23:32:24 +0000
committerDavid Robillard <d@drobilla.net>2015-02-21 23:32:24 +0000
commitef71a1da33a3c68cad782029cacbc1d01328b4d6 (patch)
treef5bb6f29c467bf91c0ab8ca5072a81408522a311 /src/edge.c
parent23682cbf1f98f35d4341efe354bee6f770d482e2 (diff)
downloadganv-ef71a1da33a3c68cad782029cacbc1d01328b4d6.tar.gz
ganv-ef71a1da33a3c68cad782029cacbc1d01328b4d6.tar.bz2
ganv-ef71a1da33a3c68cad782029cacbc1d01328b4d6.zip
Add API to specify module port order.
Also fix various redundant resize/update issues, improve performance. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5592 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/edge.c')
-rw-r--r--src/edge.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/edge.c b/src/edge.c
index 449f884..d2833e4 100644
--- a/src/edge.c
+++ b/src/edge.c
@@ -282,10 +282,6 @@ ganv_edge_update(GanvItem* item, int flags)
GanvEdge* edge = GANV_EDGE(item);
GanvEdgeImpl* impl = edge->impl;
- if (parent_class->update) {
- (*parent_class->update)(item, flags);
- }
-
// Request redraw of old location
ganv_edge_request_redraw(item, &impl->old_coords);
@@ -316,6 +312,8 @@ ganv_edge_update(GanvItem* item, int flags)
// Request redraw of new location
ganv_edge_request_redraw(item, &impl->coords);
+
+ parent_class->update(item, flags);
}
static void