diff options
author | David Robillard <d@drobilla.net> | 2015-02-21 23:32:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-21 23:32:24 +0000 |
commit | ef71a1da33a3c68cad782029cacbc1d01328b4d6 (patch) | |
tree | f5bb6f29c467bf91c0ab8ca5072a81408522a311 /src/edge.c | |
parent | 23682cbf1f98f35d4341efe354bee6f770d482e2 (diff) | |
download | ganv-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |