diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 13:22:46 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 13:22:46 -0400 |
| commit | 5b929084f8b80409ee39d21ef80f562042807e0b (patch) | |
| tree | 513a6bbf595a0b43dc6fcc4ec9fa620f1116cdb1 /new/container_unix.c | |
| parent | 587da1f40fd7aa64119657c30017da4a63eb1a68 (diff) | |
Tied everything together. Now to fix build issues.
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 { |
