From b134967ab0d005f1972c7906bb653b95bd86b2c7 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 29 Apr 2015 10:40:50 -0400 Subject: [PATCH] Fixed GTK+ control bugs in the previous commit. Basic controls work! --- new/unix/newcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new/unix/newcontrol.c b/new/unix/newcontrol.c index 45799419..f29b4a9e 100644 --- a/new/unix/newcontrol.c +++ b/new/unix/newcontrol.c @@ -91,7 +91,7 @@ static int singleVisible(uiControl *c) { singleWidget *s = (singleWidget *) (c->Internal); - return s->hidden; + return !s->hidden; } static void singleShow(uiControl *c)