summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-10 15:56:59 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-16 16:18:58 +0100
commit3a3c5c344b94dadf5fa7040bce2651b4a304feea (patch)
treef42aafdae19ae489e049c24e8a0b3d36af75ba5c
parent178f7170c0b95996ae45904a66a1615482260d97 (diff)
pending_messages_removed_cb: stop iterating over messages once we found the right one
-rw-r--r--telepathy-glib/text-channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/text-channel.c b/telepathy-glib/text-channel.c
index d6e36600a..2797bc71e 100644
--- a/telepathy-glib/text-channel.c
+++ b/telepathy-glib/text-channel.c
@@ -509,6 +509,7 @@ pending_messages_removed_cb (TpChannel *proxy,
0, msg);
g_object_unref (msg);
+ break;
}
}
}