From 3f8fe0e7108c1cd87e177bed22e3307c9df03e63 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 12 Feb 2014 10:43:57 -0500 Subject: Separated initial text from sysData and fixed errors in the previous commits. --- sysdata.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdata.go') diff --git a/sysdata.go b/sysdata.go index 854e1a0..b17f506 100644 --- a/sysdata.go +++ b/sysdata.go @@ -8,12 +8,11 @@ import ( // The sysData type contains all system data. It provides the system-specific underlying implementation. It is guaranteed to have the following by embedding: type cSysData struct { ctype int - text string // for Window closing chan struct{} } -func (c *cSysData) make() error { +func (c *cSysData) make(initText string) error { panic(runtime.GOOS + " sysData does not define make()") } func (c *cSysData) show() error { -- cgit v1.2.3