Skip to content
Snippets Groups Projects
Commit fc043869 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* gnome: use const pointers where applicable

parent df50886d
No related branches found
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ void conference_participant_list_update(gchar** participants, conference_obj_t* ...@@ -150,7 +150,7 @@ void conference_participant_list_update(gchar** participants, conference_obj_t*
} }
for (gchar **part = participants; part && *part; ++part) { for (gchar **part = participants; part && *part; ++part) {
gchar *call_id = (gchar *) (*part); const gchar *call_id = (const gchar *) (*part);
callable_obj_t *call = calllist_get_call(current_calls_tab, call_id); callable_obj_t *call = calllist_get_call(current_calls_tab, call_id);
if (call->_confID != NULL) { if (call->_confID != NULL) {
......
...@@ -955,7 +955,7 @@ void calltree_add_conference_to_current_calls(conference_obj_t* conf) ...@@ -955,7 +955,7 @@ void calltree_add_conference_to_current_calls(conference_obj_t* conf)
DEBUG("Calltree: Determine if at least one participant uses SRTP"); DEBUG("Calltree: Determine if at least one participant uses SRTP");
for (GSList *part = conf->participant_list; part; part = g_slist_next(part)) { for (GSList *part = conf->participant_list; part; part = g_slist_next(part)) {
const gchar * const call_id = (gchar *) part->data; const gchar * const call_id = (const gchar *) part->data;
callable_obj_t *call = calllist_get_call(current_calls_tab, call_id); callable_obj_t *call = calllist_get_call(current_calls_tab, call_id);
if (call == NULL) if (call == NULL)
......
...@@ -1722,7 +1722,7 @@ gchar ** ...@@ -1722,7 +1722,7 @@ gchar **
dbus_get_participant_list(const gchar *confID) dbus_get_participant_list(const gchar *confID)
{ {
GError *error = NULL; GError *error = NULL;
char **list = NULL; gchar **list = NULL;
DEBUG("DBUS: Get conference %s participant list", confID); DEBUG("DBUS: Get conference %s participant list", confID);
org_sflphone_SFLphone_CallManager_get_participant_list(call_proxy, confID, &list, &error); org_sflphone_SFLphone_CallManager_get_participant_list(call_proxy, confID, &list, &error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment