diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-20 15:32:53 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-20 15:39:13 -0500 |
commit | 919aae6cd9a350311306ccba86f09a551214ef9a (patch) | |
tree | eb5b7b1ada9afc6d98d5d7901c70fcd6500d58de | |
parent | 6261b83dbfd000fc7bb829571dc515d8c6a7c927 (diff) | |
download | ofono-919aae6cd9a350311306ccba86f09a551214ef9a.tar.bz2 |
Fix unused function remove_all_watches
-rw-r--r-- | src/sim.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1075,6 +1075,8 @@ static void sim_unregister(struct ofono_atom *atom) struct ofono_modem *modem = __ofono_atom_get_modem(atom); const char *path = __ofono_atom_get_path(atom); + remove_all_watches(__ofono_atom_get_data(atom)); + g_dbus_unregister_interface(conn, path, SIM_MANAGER_INTERFACE); ofono_modem_remove_interface(modem, SIM_MANAGER_INTERFACE); |