Skip to content

Commit

Permalink
network: clean code, remove useless dbus interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu FaSheng committed Jun 12, 2014
1 parent 62fb38f commit b34548e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion bluetooth/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package bluetooth

import (
//"dlib"
"dlib/dbus"
liblogger "dlib/logger"
)
Expand Down
2 changes: 2 additions & 0 deletions network/manager_connections.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ func (m *Manager) initConnectionManage() {
nmSettings.ConnectNewConnection(func(path dbus.ObjectPath) {
m.handleConnectionChanged(opAdded, path)
})
// nmSettings.ConnectPropertiesChanged(func(path dbus.ObjectPath) {
// }
}

func (m *Manager) handleConnectionChanged(operation int32, path dbus.ObjectPath) {
Expand Down

0 comments on commit b34548e

Please sign in to comment.