summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-14 02:38:45 +0000
committerDavid Robillard <d@drobilla.net>2011-12-14 02:38:45 +0000
commita70ec768ee9a3a5783f2c07feb77e67ced78a802 (patch)
treea0c3964a25cf761162ec02ae4e8ceeb5d270ca29 /src
parent6bebc2472db2c426f7285ebceb8563c79ac439f2 (diff)
downloadganv-a70ec768ee9a3a5783f2c07feb77e67ced78a802.tar.gz
ganv-a70ec768ee9a3a5783f2c07feb77e67ced78a802.tar.bz2
ganv-a70ec768ee9a3a5783f2c07feb77e67ced78a802.zip
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3874 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/canvas-base.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/canvas-base.c b/src/canvas-base.c
index ee284dd..5b3a080 100644
--- a/src/canvas-base.c
+++ b/src/canvas-base.c
@@ -322,17 +322,6 @@ ganv_item_point(GanvItem* item,
return G_MAXDOUBLE;
}
-/**
- * Invoke the update method of the item
- * Please notice, that we take parent to canvas pixel matrix as argument
- * unlike virtual method ::update, whose argument is item 2 canvas pixel
- * matrix
- *
- * I will try to force somewhat meaningful naming for affines (Lauris)
- * General naming rule is FROM2TO, where FROM and TO are abbreviations
- * So p2cpx is Parent2CanvasPixel and i2cpx is Item2CanvasPixel
- * I hope that this helps to keep track of what really happens
- */
void
ganv_item_invoke_update(GanvItem* item, int flags)
{
@@ -729,7 +718,7 @@ ganv_item_i2c_affine(GanvItem* item, cairo_matrix_t* matrix)
}
/* Returns whether the item is an inferior of or is equal to the parent. */
-static int
+static gboolean
is_descendant(GanvItem* item, GanvItem* parent)
{
for (; item; item = item->parent) {