adding more convenience functions, improve some argument receivers
This commit is contained in:
@@ -42,3 +42,11 @@ func (s *Session) Close() (err error) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// path is a *very* thin wrapper around Session.Dbus.Path().
|
||||
func (s *Session) path() (dbusPath dbus.ObjectPath) {
|
||||
|
||||
dbusPath = s.Dbus.Path()
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user