From 772f03f4b3d4fb45ee0359af7742effdcee8a557 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 17 Oct 2014 23:21:30 -0400 Subject: [PATCH] Fixed GTK+ Area crash (damn typo). Now to figure out why everything is misplaced :D --- newctrl/control_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newctrl/control_unix.go b/newctrl/control_unix.go index ca4501b..363be55 100644 --- a/newctrl/control_unix.go +++ b/newctrl/control_unix.go @@ -110,7 +110,7 @@ func newScroller(widget *C.GtkWidget, native bool, bordered bool, overlay bool) // we now have to do all of the above again s.overlaywidget = C.gtk_overlay_new() s.overlaycontainer = (*C.GtkContainer)(unsafe.Pointer(s.overlaywidget)) - s.overlayoverlay = (*C.GtkOverlay)(unsafe.Pointer(s.overlayoverlay)) + s.overlayoverlay = (*C.GtkOverlay)(unsafe.Pointer(s.overlaywidget)) s.overlay = newControlSingleWidget(s.overlaywidget) s.fsetParent = s.overlay.fsetParent s.fresize = s.overlay.fresize