aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-01-31 01:16:05 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:16:05 +0800
commit90d339320d2e239e23d6c7b8d78333530c5a7daf (patch)
treebf6ef97052fb94b5c0aed177511406a6c3920b2c /libempathy
parent28258efc5b743fb8ef6eec1ac5466dc8038e3f6f (diff)
downloadgsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.tar
gsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.tar.gz
gsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.tar.bz2
gsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.tar.lz
gsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.tar.xz
gsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.tar.zst
gsoc2013-empathy-90d339320d2e239e23d6c7b8d78333530c5a7daf.zip
Use g_list_prepend instead of g_list_append.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2307
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index a8e0b1844..e3dba15c8 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -559,7 +559,7 @@ dispatcher_connection_new_channel (EmpathyDispatcher *dispatcher,
G_CALLBACK (dispatcher_channel_invalidated_cb),
dispatcher);
- priv->channels = g_list_append (priv->channels, channel);
+ priv->channels = g_list_prepend (priv->channels, channel);
if (handle_type == TP_CONN_HANDLE_TYPE_CONTACT)
{
@@ -1065,7 +1065,7 @@ dispatcher_connection_new_requested_channel (EmpathyDispatcher *dispatcher,
G_CALLBACK (dispatcher_channel_invalidated_cb),
request_data->dispatcher);
- priv->channels = g_list_append (priv->channels, channel);
+ priv->channels = g_list_prepend (priv->channels, channel);
operation = empathy_dispatch_operation_new (request_data->connection,
channel, request_data->contact, FALSE);