From 3ea1e0978060a145df12ba264590885fc92baad2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 2 Sep 2014 09:05:34 -0400 Subject: [PATCH] Removed some debugging spiel. --- area_unix.go | 1 - button_darwin.go | 1 - button_unix.go | 1 - button_windows.go | 1 - checkbox_windows.go | 1 - textfield_darwin.go | 1 - textfield_unix.go | 1 - textfield_windows.go | 1 - 8 files changed, 8 deletions(-) diff --git a/area_unix.go b/area_unix.go index 3c88f52..7b1d1ce 100644 --- a/area_unix.go +++ b/area_unix.go @@ -111,7 +111,6 @@ func (a *area) Repaint(r image.Rectangle) { if r.Empty() { return } -println(a._widget, C.gint(r.Min.X), C.gint(r.Min.Y), C.gint(r.Dx()), C.gint(r.Dy())) C.gtk_widget_queue_draw_area(a._widget, C.gint(r.Min.X), C.gint(r.Min.Y), C.gint(r.Dx()), C.gint(r.Dy())) } diff --git a/button_darwin.go b/button_darwin.go index 9444da4..0716365 100644 --- a/button_darwin.go +++ b/button_darwin.go @@ -44,7 +44,6 @@ func (b *button) SetText(text string) { func buttonClicked(xb unsafe.Pointer) { b := (*button)(unsafe.Pointer(xb)) b.clicked.fire() - println("button clicked") } func (b *button) id() C.id { diff --git a/button_unix.go b/button_unix.go index 7d41b55..4dc185a 100644 --- a/button_unix.go +++ b/button_unix.go @@ -54,7 +54,6 @@ func (b *button) SetText(text string) { func buttonClicked(bwid *C.GtkButton, data C.gpointer) { b := (*button)(unsafe.Pointer(data)) b.clicked.fire() - println("button clicked") } func (b *button) widget() *C.GtkWidget { diff --git a/button_windows.go b/button_windows.go index ac2b9b7..2634935 100644 --- a/button_windows.go +++ b/button_windows.go @@ -47,7 +47,6 @@ func (b *button) SetText(text string) { func buttonClicked(data unsafe.Pointer) { b := (*button)(data) b.clicked.fire() - println("button clicked") } func (b *button) hwnd() C.HWND { diff --git a/checkbox_windows.go b/checkbox_windows.go index eab0764..6b17699 100644 --- a/checkbox_windows.go +++ b/checkbox_windows.go @@ -59,7 +59,6 @@ func (c *checkbox) SetChecked(checked bool) { func checkboxToggled(data unsafe.Pointer) { c := (*checkbox)(data) c.toggled.fire() - println("checkbox toggled") } func (c *checkbox) hwnd() C.HWND { diff --git a/textfield_darwin.go b/textfield_darwin.go index 5c52a38..6dccbb9 100644 --- a/textfield_darwin.go +++ b/textfield_darwin.go @@ -62,7 +62,6 @@ func (t *textfield) Invalid(reason string) { //export textfieldChanged func textfieldChanged(data unsafe.Pointer) { t := (*textfield)(data) -println("changed") t.changed.fire() } diff --git a/textfield_unix.go b/textfield_unix.go index b06da02..a590713 100644 --- a/textfield_unix.go +++ b/textfield_unix.go @@ -77,7 +77,6 @@ func (t *textfield) Invalid(reason string) { //export textfieldChanged func textfieldChanged(editable *C.GtkEditable, data C.gpointer) { t := (*textfield)(unsafe.Pointer(data)) -println("changed") t.changed.fire() } diff --git a/textfield_windows.go b/textfield_windows.go index 236be97..3fcccd0 100644 --- a/textfield_windows.go +++ b/textfield_windows.go @@ -61,7 +61,6 @@ func (t *textfield) Invalid(reason string) { //export textfieldChanged func textfieldChanged(data unsafe.Pointer) { t := (*textfield)(data) -println("changed") t.changed.fire() }