Example #1
0
/*
You SHOULD use this when you quit.

    x := NewXmms2Client("test")
    x.Connect("somewhere")
    defer x.Unref()
    defer x.ResultUnref()
    os.Exit(0)

*/
func (x *Xmms2Client) Unref() {
	C.xmmsc_unref(x.connection)
}
Example #2
0
func (c *Connector) UnRef() {
	C.xmmsc_unref(c.export())
}