summaryrefslogtreecommitdiff
path: root/new/button_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-08 16:24:11 -0400
committerPietro Gagliardi <[email protected]>2015-04-08 16:24:11 -0400
commitabf976ef44f1241433dbacd68481cf3b18ca194f (patch)
treefbb31deb8517b9117168a3ddd0f19312cbff4d7a /new/button_unix.c
parent090977fa0a9d124a0be121d420733dcb061e3cf7 (diff)
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.
Diffstat (limited to 'new/button_unix.c')
-rw-r--r--new/button_unix.c2
1 files changed, 1 insertions, 1 deletions
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);