diff options
-rw-r--r-- | ganv/canvas-base.h | 3 | ||||
-rw-r--r-- | src/node.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/ganv/canvas-base.h b/ganv/canvas-base.h index e859fb7..33e995e 100644 --- a/ganv/canvas-base.h +++ b/ganv/canvas-base.h @@ -129,9 +129,6 @@ struct _GanvItemClass { /* Unmap an item */ void (* unmap)(GanvItem* item); - /* Return the microtile coverage of the item */ - ArtUta* (*coverage)(GanvItem * item); - /* Draw an item of this type. (x, y) are the upper-left canvas pixel * coordinates of the drawable, a temporary pixmap, where things get * drawn. (width, height) are the dimensions of the drawable. @@ -256,7 +256,7 @@ ganv_node_set_label(GanvNode* node, const char* str) "text", str, NULL); } else { - impl->label = GANV_TEXT(ganv_item_new(node, + impl->label = GANV_TEXT(ganv_item_new(GANV_ITEM(node), ganv_text_get_type(), "text", str, "color", 0xFFFFFFFF, |