summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-07-28 17:39:35 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-07-29 12:26:04 -0500
commit1426d84ad7913a51c2b7136a27200b9c6b4b346c (patch)
treefae9254887018c7ade4bd2d2d3bb95df45514e74 /src/voicecall.c
parentc31350294fb320114b2b93b8fb58f285e806715b (diff)
downloadofono-1426d84ad7913a51c2b7136a27200b9c6b4b346c.tar.bz2
Get rid of dbus_gsm_free_string_array
Use g_strfreev instead.
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c8
1 files changed, 4 insertions, 4 deletions
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;