From 2647d28f2bdc91bbc7350ceb1dec648b68d22599 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 1 Apr 2014 16:43:56 -0400 Subject: Removed the initText parameter from sysData.make() and changed all invocations to call sysData.setText() separately; this avoids the need to check if sysData.setText() is valid. Also implemented that on GTK+. --- sysdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdata.go') diff --git a/sysdata.go b/sysdata.go index fe4bb00..7f43a3e 100644 --- a/sysdata.go +++ b/sysdata.go @@ -21,7 +21,7 @@ type cSysData struct { // this interface is used to make sure all sysDatas are synced var _xSysData interface { - make(initText string, window *sysData) error + make(window *sysData) error firstShow() error show() hide() -- cgit v1.2.3