Whoops, forgot unix/area.c. Now let's try.

This commit is contained in:
Pietro Gagliardi 2016-04-25 20:19:57 -04:00
parent 3f16e28d1b
commit d65a263bb4
1 changed files with 3 additions and 5 deletions

View File

@ -482,9 +482,7 @@ static void areaWidget_class_init(areaWidgetClass *class)
// control implementation
uiUnixDefineControl(
uiArea // type name
)
uiUnixControlAllDefaults(uiArea)
void uiAreaSetSize(uiArea *a, intmax_t width, intmax_t height)
{
@ -510,7 +508,7 @@ uiArea *uiNewArea(uiAreaHandler *ah)
{
uiArea *a;
a = (uiArea *) uiNewControl(uiArea);
uiUnixNewControl(uiArea, a);
a->ah = ah;
a->scrolling = FALSE;
@ -532,7 +530,7 @@ uiArea *uiNewScrollingArea(uiAreaHandler *ah, intmax_t width, intmax_t height)
{
uiArea *a;
a = (uiArea *) uiNewControl(uiArea);
uiUnixNewControl(uiArea, a);
a->ah = ah;
a->scrolling = TRUE;