summaryrefslogtreecommitdiffstats
path: root/src/tk/radio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk/radio.c')
-rw-r--r--src/tk/radio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tk/radio.c b/src/tk/radio.c
index 1336b60..71c9486 100644
--- a/src/tk/radio.c
+++ b/src/tk/radio.c
@@ -147,7 +147,8 @@ mftk_radio_new(int butn_width, int butn_padding, SDL_Color *butn_color,
}
va_end(ap);
- r->grid = mftk_grid_new_a(options, 1, item_padding, 0, r->children);
+ r->grid = mftk_grid_new_a(options, 1, item_padding, 0, r->children,
+ NULL);
if (r->grid == NULL) {
for (i = 0; i < options; ++i) {
mftk_widget_destroy(&r->children[i]);