summaryrefslogtreecommitdiff
path: root/newctrl/control_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-17 23:14:00 -0400
committerPietro Gagliardi <[email protected]>2014-10-17 23:14:00 -0400
commitaabbe36b444bb09834059f2930c9e42cc632be12 (patch)
treefe5abeae3ecced6f01bd57d57a40f530b30b74b5 /newctrl/control_unix.go
parentf363a790cc1a417b63789afad457443d4666a451 (diff)
Fixed compiler errors. Now to fix runtime errors! Woo!
Diffstat (limited to 'newctrl/control_unix.go')
-rw-r--r--newctrl/control_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/newctrl/control_unix.go b/newctrl/control_unix.go
index cec2061..ca4501b 100644
--- a/newctrl/control_unix.go
+++ b/newctrl/control_unix.go
@@ -114,7 +114,7 @@ func newScroller(widget *C.GtkWidget, native bool, bordered bool, overlay bool)
s.overlay = newControlSingleWidget(s.overlaywidget)
s.fsetParent = s.overlay.fsetParent
s.fresize = s.overlay.fresize
- C.gtk_container_add(s.overlaycontainer, s.scrollcontainer)
+ C.gtk_container_add(s.overlaycontainer, s.scrollwidget)
}
return s