Fixed typos in unix/container.c.

This commit is contained in:
Pietro Gagliardi 2015-06-29 11:19:56 -04:00
parent c0bb1ff7a8
commit 2af0ffb3c6
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ static void containerWidget_get_preferred_height(GtkWidget *widget, gint *minimu
uiSizing *d;
d = uiUnixNewSizing();
uiControlPreferredSize(uiControl(c->c), &d, &width, &height);
uiControlPreferredSize(uiControl(c->c), d, &width, &height);
uiFreeSizing(d);
*minimum = 0; // allow arbitrary resize
*natural = height;
@ -104,7 +104,7 @@ static void containerWidget_get_preferred_width(GtkWidget *widget, gint *minimum
uiSizing *d;
d = uiUnixNewSizing();
uiControlPreferredSize(uiControl(c->c), &d, &width, &height);
uiControlPreferredSize(uiControl(c->c), d, &width, &height);
uiFreeSizing(d);
*minimum = 0; // allow arbitrary resize
*natural = width;