Removed TODO about returning container before connecting signals in sysdata_unix.go; nothing will actually be sent until we show the widgets anyway.
This commit is contained in:
parent
6a2fb35d60
commit
e30646ed59
|
@ -126,7 +126,6 @@ func (s *sysData) make(window *sysData) error {
|
||||||
uitask <- func() {
|
uitask <- func() {
|
||||||
fixed := gtkNewWindowLayout()
|
fixed := gtkNewWindowLayout()
|
||||||
gtk_container_add(s.widget, fixed)
|
gtk_container_add(s.widget, fixed)
|
||||||
// TODO return the container before assigning the signals?
|
|
||||||
for signame, sigfunc := range ct.signals {
|
for signame, sigfunc := range ct.signals {
|
||||||
g_signal_connect(s.widget, signame, sigfunc, s)
|
g_signal_connect(s.widget, signame, sigfunc, s)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue