Skip to content
Snippets Groups Projects
Commit 57f5f3b8 authored by Vivien Didelot's avatar Vivien Didelot
Browse files

gnome: gpointer is already a pointer

parent ee6612fa
Branches
Tags
No related merge requests found
...@@ -75,13 +75,13 @@ account_list_clean () ...@@ -75,13 +75,13 @@ account_list_clean ()
void void
account_list_add (account_t * c) account_list_add (account_t * c)
{ {
g_queue_push_tail (accountQueue, (gpointer *) c); g_queue_push_tail (accountQueue, (gpointer) c);
} }
void void
account_list_add_at_nth (account_t * c, guint pos) account_list_add_at_nth (account_t * c, guint pos)
{ {
g_queue_push_nth (accountQueue, (gpointer *) c, pos); g_queue_push_nth (accountQueue, (gpointer) c, pos);
} }
......
...@@ -80,7 +80,7 @@ void codec_capabilities_load (void) ...@@ -80,7 +80,7 @@ void codec_capabilities_load (void)
gchar **specs = dbus_audio_codec_details (payload); gchar **specs = dbus_audio_codec_details (payload);
codec_create_new_with_specs (payload, specs, TRUE, &c); codec_create_new_with_specs (payload, specs, TRUE, &c);
g_strfreev(specs); g_strfreev(specs);
g_queue_push_tail (codecsCapabilities, (gpointer*) c); g_queue_push_tail (codecsCapabilities, (gpointer) c);
g_free(*codecs); g_free(*codecs);
} }
g_free(codecs_orig); g_free(codecs_orig);
...@@ -169,7 +169,7 @@ void codec_list_clear (GQueue **queue) ...@@ -169,7 +169,7 @@ void codec_list_clear (GQueue **queue)
void codec_list_add (codec_t * c, GQueue **queue) void codec_list_add (codec_t * c, GQueue **queue)
{ {
// Add a codec to a specific list // Add a codec to a specific list
g_queue_push_tail (*queue, (gpointer *) c); g_queue_push_tail (*queue, (gpointer) c);
} }
void codec_set_active (codec_t **c) void codec_set_active (codec_t **c)
......
...@@ -138,7 +138,7 @@ void calllist_add_history_call (callable_obj_t *obj) ...@@ -138,7 +138,7 @@ void calllist_add_history_call (callable_obj_t *obj)
element = (QueueElement *)malloc(sizeof(QueueElement)); element = (QueueElement *)malloc(sizeof(QueueElement));
element->type = HIST_CALL; element->type = HIST_CALL;
element->elem.call = obj; element->elem.call = obj;
g_queue_push_tail (history->callQueue, (gpointer *) element); g_queue_push_tail (history->callQueue, (gpointer) element);
calltree_add_call (history, obj, NULL); calltree_add_call (history, obj, NULL);
} }
} }
...@@ -151,7 +151,7 @@ void calllist_add_history_conference(conference_obj_t *obj) ...@@ -151,7 +151,7 @@ void calllist_add_history_conference(conference_obj_t *obj)
element = (QueueElement *)malloc(sizeof(QueueElement)); element = (QueueElement *)malloc(sizeof(QueueElement));
element->type = HIST_CONFERENCE; element->type = HIST_CONFERENCE;
element->elem.conf = obj; element->elem.conf = obj;
g_queue_push_tail (history->callQueue, (gpointer *)element); g_queue_push_tail (history->callQueue, (gpointer) element);
calltree_add_conference (history, obj); calltree_add_conference (history, obj);
} }
} }
...@@ -166,7 +166,7 @@ calllist_add_call (calltab_t* tab, callable_obj_t * c) ...@@ -166,7 +166,7 @@ calllist_add_call (calltab_t* tab, callable_obj_t * c)
element = (QueueElement *)malloc(sizeof(QueueElement)); element = (QueueElement *)malloc(sizeof(QueueElement));
element->type = HIST_CALL; element->type = HIST_CALL;
element->elem.call = c; element->elem.call = c;
g_queue_push_tail (tab->callQueue, (gpointer *) element); g_queue_push_tail (tab->callQueue, (gpointer) element);
} }
void void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment