diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-07-25 22:55:44 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-07-25 22:55:44 +0800 |
commit | f07a700ce8cc0c5d0f892d357ececc47e601aecd (patch) | |
tree | 2ac17f9840f07e89f6b16b1b4801b581683e9111 /libempathy | |
parent | 73a749cafbd78b45494aa5eba645ef2fe9c4e21a (diff) | |
download | gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.tar gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.tar.gz gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.tar.bz2 gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.tar.lz gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.tar.xz gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.tar.zst gsoc2013-empathy-f07a700ce8cc0c5d0f892d357ececc47e601aecd.zip |
Add a check to be sure the new channel is valid in the NewChannel cb.
2007-07-25 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-tp-contact-list.c: Add a check to be sure the
new channel is valid in the NewChannel cb. Fixes bug #451564.
svn path=/trunk/; revision=191
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-contact-list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 8ecf564e3..5c5e02d02 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -974,6 +974,7 @@ tp_contact_list_newchannel_cb (DBusGProxy *proxy, bus_name, object_path, channel_type, handle_type, channel_handle); + g_return_if_fail (TELEPATHY_IS_CHAN (new_chan)); if (handle_type == TP_HANDLE_TYPE_LIST) { TpContactListType list_type; |