From 1426d84ad7913a51c2b7136a27200b9c6b4b346c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 28 Jul 2009 17:39:35 -0500 Subject: Get rid of dbus_gsm_free_string_array Use g_strfreev instead. --- src/voicecall.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/voicecall.c') diff --git a/src/voicecall.c b/src/voicecall.c index 5cb6e08c..d1cc2c7f 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -715,14 +715,14 @@ static DBusMessage *manager_get_properties(DBusConnection *conn, dbus_gsm_dict_append_array(&dict, "Calls", DBUS_TYPE_OBJECT_PATH, &callobj_list); - dbus_gsm_free_string_array(callobj_list); + g_strfreev(callobj_list); voicecalls_path_list(modem, calls->multiparty_list, &callobj_list); dbus_gsm_dict_append_array(&dict, "MultipartyCalls", DBUS_TYPE_OBJECT_PATH, &callobj_list); - dbus_gsm_free_string_array(callobj_list); + g_strfreev(callobj_list); dbus_message_iter_close_container(&iter, &dict); @@ -1143,7 +1143,7 @@ static gboolean real_emit_call_list_changed(void *data) DBUS_TYPE_OBJECT_PATH, &objpath_list); - dbus_gsm_free_string_array(objpath_list); + g_strfreev(objpath_list); ofono_debug("Resetting updating flag"); voicecalls->flags &= ~VOICECALLS_FLAG_UPDATING_CALL_LIST; @@ -1179,7 +1179,7 @@ static gboolean real_emit_multiparty_call_list_changed(void *data) DBUS_TYPE_OBJECT_PATH, &objpath_list); - dbus_gsm_free_string_array(objpath_list); + g_strfreev(objpath_list); voicecalls->flags &= ~VOICECALLS_FLAG_UPDATING_MPTY_CALL_LIST; -- cgit v1.2.3