Removed the uiContainerUpdate()s from bin.c and fixed one wrong one in box.c. For bin.c, uiContainerUpdate() needs to explicitly be called by users.
This commit is contained in:
parent
2c9e63d8d2
commit
20b76fe211
2
bin.c
2
bin.c
|
@ -92,7 +92,6 @@ static void binSetMainControl(uiBin *bb, uiControl *mainControl)
|
|||
b->mainControl = mainControl;
|
||||
if (b->mainControl != NULL)
|
||||
uiControlSetParent(b->mainControl, uiContainer(b));
|
||||
uiContainerUpdate(uiContainer(b));
|
||||
}
|
||||
|
||||
static void binSetMargins(uiBin *bb, intmax_t left, intmax_t top, intmax_t right, intmax_t bottom)
|
||||
|
@ -103,7 +102,6 @@ static void binSetMargins(uiBin *bb, intmax_t left, intmax_t top, intmax_t right
|
|||
b->marginRight = right;
|
||||
b->marginTop = top;
|
||||
b->marginBottom = bottom;
|
||||
uiContainerUpdate(uiContainer(b));
|
||||
}
|
||||
|
||||
uiBin *newBin(void)
|
||||
|
|
Loading…
Reference in New Issue