From 5b929084f8b80409ee39d21ef80f562042807e0b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 7 Apr 2015 13:22:46 -0400 Subject: Tied everything together. Now to fix build issues. --- new/container_unix.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'new/container_unix.c') diff --git a/new/container_unix.c b/new/container_unix.c index f008878..ab0298f 100644 --- a/new/container_unix.c +++ b/new/container_unix.c @@ -34,8 +34,12 @@ static void uiContainer_remove(GtkContainer *container, GtkWidget *widget) static void uiContainer_size_allocate(GtkWidget *widget, GtkAllocation *allocation) { + uiControl *c; + uiSizing d; + gtk_widget_set_allocation(widget, allocation); - // TODO resize child + c = uiContainer(widget)->child; + (*(c->resize))(widget, allocation.x, allocation.y, allocation.width, allocation.height, &d); } struct forall { -- cgit v1.2.3