From 811ec66d811181aa353680b6fdca24f90db0545b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 24 Aug 2014 01:14:17 -0400 Subject: [PATCH] Added error beep to GTK+ TextField.Invalid(). --- redo/textfield_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redo/textfield_unix.go b/redo/textfield_unix.go index cef2765..b06da02 100644 --- a/redo/textfield_unix.go +++ b/redo/textfield_unix.go @@ -71,7 +71,7 @@ func (t *textfield) Invalid(reason string) { creason := togstr(reason) defer freegstr(creason) C.gtk_entry_set_icon_tooltip_text(t.entry, C.GTK_ENTRY_ICON_SECONDARY, creason) - // TODO beep + C.gtk_widget_error_bell(t._widget) } //export textfieldChanged