Decided not to turn new control scrolling parameters into a bitfield.

This commit is contained in:
Pietro Gagliardi 2015-04-08 16:27:45 -04:00
parent abf976ef44
commit 6d7140160b
2 changed files with 0 additions and 2 deletions

View File

@ -67,7 +67,6 @@ uiControl *uiDarwinNewControl(Class class, BOOL inScrollView, BOOL scrollViewHas
c->view = (NSView *) [[class alloc] initWithFrame:NSZeroRect];
c->immediate = c->view;
// TODO turn into bit field?
if (inScrollView) {
c->scrollView = [[NSScrollView alloc] initWithFrame:NSZeroRect];
[c->scrollView setDocumentView:c->view];

View File

@ -72,7 +72,6 @@ uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean scro
va_end(ap);
c->immediate = c->widget;
// TODO turn into bit field?
if (inScrolledWindow) {
c->scrolledWindow = gtk_scrolled_window_new(NULL, NULL);
if (!GTK_IS_SCROLLABLE(c->widget))