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 // control implementation
uiUnixDefineControl( uiUnixControlAllDefaults(uiArea)
uiArea // type name
)
void uiAreaSetSize(uiArea *a, intmax_t width, intmax_t height) void uiAreaSetSize(uiArea *a, intmax_t width, intmax_t height)
{ {
@ -510,7 +508,7 @@ uiArea *uiNewArea(uiAreaHandler *ah)
{ {
uiArea *a; uiArea *a;
a = (uiArea *) uiNewControl(uiArea); uiUnixNewControl(uiArea, a);
a->ah = ah; a->ah = ah;
a->scrolling = FALSE; a->scrolling = FALSE;
@ -532,7 +530,7 @@ uiArea *uiNewScrollingArea(uiAreaHandler *ah, intmax_t width, intmax_t height)
{ {
uiArea *a; uiArea *a;
a = (uiArea *) uiNewControl(uiArea); uiUnixNewControl(uiArea, a);
a->ah = ah; a->ah = ah;
a->scrolling = TRUE; a->scrolling = TRUE;