diff options
Diffstat (limited to 'new/container_unix.c')
| -rw-r--r-- | new/container_unix.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |
