summaryrefslogtreecommitdiff
path: root/src/roomlist-channel.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use sealed struct membersSimon McVittie2013-01-041-3/+0
| | | | | | This exposes a bug in the tests: several tests assumed that tubes' Interfaces would always come out in the same order, but the new APIs we're using break that assumption. Fix that too.
* Be single-include-compliantSimon McVittie2013-01-041-5/+3
|
* Include config.h and our corresponding header first in every source fileSimon McVittie2013-01-041-0/+1
| | | | | Putting the corresponding header first exposed a missing header inclusion in text-helper.h; fix that by using the meta-header.
* Don't crash when closing a roomlist channel.Will Thompson2012-07-021-0/+1
| | | | | | | | TpBaseChannel requires that the 'close' vfunc be implemented, even if the implementation is literally tp_base_channel_destroyed() because there is no clean-up to do. As a result, Empathy pre-emptively requesting a roomlist channel when you open the Join Room… dialog would crash Salut when you close that dialog.
* roomlist-channel: subclass TpBaseChannelJonny Lamb2012-02-011-358/+44
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-2/+2
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Cope with the default value of handle-type being changed in new tp-glibSjoerd Simons2011-06-251-2/+4
| | | | | | | | In recent versions of tp-glib the handle-type property defaults to TP_UNKNOWN_HANDLE_TYPE instead of 0. Update the various assertions which verify a channel doesn't get constructed with an unexpected handle type to accept both 0 and TP_UNKNOWN_HANDLE_TYPE so we're compatible with both versions.
* remove all set but unused variablesJonny Lamb2011-05-031-2/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* src: remove annoying salut- prefixJonny Lamb2011-04-281-0/+692
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>