File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -453,19 +453,19 @@ func (c *Client) FreeAll(gids ...int32) error {
453
453
454
454
// addOscHandlers adds OSC handlers
455
455
func (c * Client ) oscHandlers () osc.Dispatcher {
456
- return map [string ]osc.Method {
457
- statusReplyAddress : func (msg osc.Message ) error {
456
+ return map [string ]osc.MessageHandler {
457
+ statusReplyAddress : osc . Method ( func (msg osc.Message ) error {
458
458
c .statusChan <- msg
459
459
return nil
460
- },
461
- doneOscAddress : func (msg osc.Message ) error {
460
+ }) ,
461
+ doneOscAddress : osc . Method ( func (msg osc.Message ) error {
462
462
c .doneChan <- msg
463
463
return nil
464
- },
465
- gqueryTreeReplyAddress : func (msg osc.Message ) error {
464
+ }) ,
465
+ gqueryTreeReplyAddress : osc . Method ( func (msg osc.Message ) error {
466
466
c .gqueryTreeChan <- msg
467
467
return nil
468
- },
468
+ }) ,
469
469
}
470
470
}
471
471
You can’t perform that action at this time.
0 commit comments