aboutsummaryrefslogtreecommitdiff
path: root/src/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.h')
-rw-r--r--src/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.h b/src/widget.h
index c324e0b..3488a7b 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -22,7 +22,7 @@ typedef struct CherryWidget {
void (*draw)(struct CherryWidget *);
} CherryWidget;
-CherryWidget *cherry_widget_new(void);
+CherryWidget cherry_widget_new(void);
void cherry_widget_get_dimension(CherryWidget *, int *, int *);
void cherry_widget_set_dimension(CherryWidget *, int, int);
int cherry_widget_is_visible(CherryWidget *);