Skip to content

Commit

Permalink
cr fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Vorontsov committed May 2, 2024
1 parent b6df955 commit c609f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glib/gsocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

type Socket struct {
Object
*Object
}

func SocketNew(domain, typ, proto int) (*Socket, error) {
Expand All @@ -29,7 +29,7 @@ func SocketNewFromFd(fd int) (*Socket, error) {
return nil, errors.New(C.GoString(gerr.message))
}

return &Socket{*Take(unsafe.Pointer(socket))}, nil
return &Socket{Take(unsafe.Pointer(socket))}, nil
}

func (s *Socket) ToGValue() (*Value, error) {
Expand Down

0 comments on commit c609f81

Please sign in to comment.