aboutsummaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c
index fabc67d..412d7f8 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -3,6 +3,11 @@
#include <stdlib.h>
#include "widget.h"
+void
+cherry_widget_draw(CherryWidget *widget)
+{
+}
+
CherryWidget *
cherry_widget_new(void)
{
@@ -12,6 +17,7 @@ cherry_widget_new(void)
widget->widgets = clist_create();
widget->draw = NULL;
widget->dimension = cherry_dimension_new();
+ widget->draw = cherry_widget_draw;
return widget;
}