Removed some debugging spiel.

This commit is contained in:
Pietro Gagliardi 2014-09-02 09:05:34 -04:00
parent 76c518b3e2
commit 3ea1e09780
8 changed files with 0 additions and 8 deletions

View File

@ -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()))
}

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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()
}

View File

@ -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()
}

View File

@ -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()
}