Finished the unix/newcontrol.c conversion, at least I think...

This commit is contained in:
Pietro Gagliardi 2015-04-15 21:43:20 -04:00
parent 18d7bf670d
commit c19a90cfca
1 changed files with 14 additions and 14 deletions

View File

@ -199,20 +199,20 @@ void uiUnixNewControl(uiControl *c, GType type, gboolean inScrolledWindow, gbool
g_object_ref_sink(s->immediate); g_object_ref_sink(s->immediate);
// assign s later; we still need it for one more thing // assign s later; we still need it for one more thing
c->destroy = singleDestroy; c->Destroy = singleDestroy;
c->handle = singleHandle; c->Handle = singleHandle;
c->setParent = singleSetParent; c->SetParent = singleSetParent;
c->preferredSize = singlePreferredSize; c->PreferredSize = singlePreferredSize;
c->resize = singleResize; c->Resize = singleResize;
c->visible = singleVisible; c->Visible = singleVisible;
c->show = singleShow; c->Show = singleShow;
c->hide = singleHide; c->Hide = singleHide;
c->containerShow = singleContainerShow; c->ContainerShow = singleContainerShow;
c->containerHide = singleContainerHide; c->ContainerHide = singleContainerHide;
c->enable = singleEnable; c->Enable = singleEnable;
c->disable = singleDisable; c->Disable = singleDisable;
c->containerEnable = singleContainerEnable; c->ContainerEnable = singleContainerEnable;
c->containerDisable = singleContainerDisable; c->ContainerDisable = singleContainerDisable;
// and let's free everything with the immediate widget // and let's free everything with the immediate widget
// we send s as data instead of c just in case c is gone by then // we send s as data instead of c just in case c is gone by then