From 919aae6cd9a350311306ccba86f09a551214ef9a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 20 Aug 2009 15:32:53 -0500 Subject: Fix unused function remove_all_watches --- src/sim.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/sim.c b/src/sim.c index 8171d630..3309c985 100644 --- a/src/sim.c +++ b/src/sim.c @@ -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); -- cgit v1.2.3