summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redo/container_unix.go2
-rw-r--r--redo/zz_test.go1
2 files changed, 0 insertions, 3 deletions
diff --git a/redo/container_unix.go b/redo/container_unix.go
index 74d5da9..4beccef 100644
--- a/redo/container_unix.go
+++ b/redo/container_unix.go
@@ -6,7 +6,6 @@ package ui
import (
"unsafe"
-"fmt"
)
// #include "gtk_unix.h"
@@ -46,7 +45,6 @@ func (c *container) setParent(p *controlParent) {
func containerResizing(data unsafe.Pointer, r *C.GtkAllocation) {
c := (*container)(data)
c.resize(int(r.x), int(r.y), int(r.width), int(r.height))
-fmt.Printf("%p new size %d x %d\n", c, r.width, r.height)
}
const (
diff --git a/redo/zz_test.go b/redo/zz_test.go
index 99dec68..e7399f2 100644
--- a/redo/zz_test.go
+++ b/redo/zz_test.go
@@ -114,7 +114,6 @@ func (tw *testwin) make(done chan struct{}) {
if *closeOnClick {
tw.b.SetText("Click to Close")
}
- // GTK+ TODO: this is causing a resize event to happen afterward?!
tw.b.OnClicked(func() {
println("in OnClicked()")
if *closeOnClick {