From abf976ef44f1241433dbacd68481cf3b18ca194f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 8 Apr 2015 16:24:11 -0400 Subject: Removed the need for specifying if a GTK+ widget needs to be in a GtkViewport for it to be scrollable; the new control code finds out itself now in the same way newer versions of GTK+ do. --- new/button_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/button_unix.c') diff --git a/new/button_unix.c b/new/button_unix.c index 8ab9aa6..a39bdf5 100644 --- a/new/button_unix.c +++ b/new/button_unix.c @@ -34,7 +34,7 @@ uiControl *uiNewButton(const char *text) b = uiNew(struct button); b->c = uiUnixNewControl(GTK_TYPE_BUTTON, - FALSE, FALSE, FALSE, b, + FALSE, FALSE, b, "label", text, NULL); -- cgit v1.2.3