Hello,

I have found an error in AG_Widget(3). Patch follows:

Index: AG_Widget.3
===================================================================
--- AG_Widget.3 (revision 9625)
+++ AG_Widget.3 (working copy)
@@ -82,9 +82,9 @@
 .Bd -literal
 typedef struct ag_widget_class {
        struct ag_object_class _inherit;
-       void (*draw)(AG_Widget *w);
-       void (*size_request)(AG_Widget *w, AG_SizeReq *req);
-       int  (*size_allocate)(AG_Widget *w, const AG_SizeAlloc *alloc);
+       void (*draw)(void *);
+       void (*size_request)(void *, AG_SizeReq *);
+       int  (*size_allocate)(void *, const AG_SizeAlloc *);
 } AG_WidgetClass;
 .Ed
 .Pp

--
pap

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to