From c4fa92e18f5c06ed1c4b9c99391d96dec51da6b8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 7 Apr 2015 21:05:47 -0400 Subject: Decided to remove containerShow() and containerHide() for now. --- new/newcontrol_unix.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'new/newcontrol_unix.c') diff --git a/new/newcontrol_unix.c b/new/newcontrol_unix.c index 87aa105..673bb81 100644 --- a/new/newcontrol_unix.c +++ b/new/newcontrol_unix.c @@ -48,16 +48,6 @@ static void singleResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, i gtk_widget_size_allocate(S(c)->immediate, &a); } -static void singleContainerShow(uiControl *c) -{ - gtk_widget_show_all(S(c)->immediate); -} - -static void singleContainerHide(uiControl *c) -{ - gtk_widget_hide(S(c)->immediate); -} - // TODO connect free function uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean needsViewport, gboolean scrolledWindowHasBorder, void *data, const char *firstProperty, ...) @@ -89,8 +79,6 @@ uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean need c->control.setParent = singleSetParent; c->control.preferredSize = singlePreferredSize; c->control.resize = singleResize; - c->control.containerShow = singleContainerShow; - c->control.containerHide = singleContainerHide; c->data = data; -- cgit v1.2.3