aboutsummaryrefslogtreecommitdiffstats
path: root/tests/empathy-chatroom-manager-test.c
Commit message (Collapse)AuthorAgeFilesLines
* add missing config.h includesGuillaume Desmottes2013-09-171-0/+2
|
* Clean up #include directives in source filesEmanuele Aina2013-04-021-6/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-2/+0
| | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Use a flat namespace for internal includesEmanuele Aina2013-04-011-1/+1
| | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Use double quotes for all internal headersEmanuele Aina2013-04-011-1/+1
| | | | | | | This makes a bit more obvious which headers come from public libraries and which ones come from uninstalled utility libraries. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-1/+1
| | | | | | | | | | | 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/
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-5/+5
| | | | | | | | | | | | | | | | | - EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit from TpAutomaticClientFactory. - We now always use the _with_am variant of TpSimple* constructors - We define our own factory as default. - Replace empathy_get_account_for_connection() by tp_connection_get_account() - The factory is passed to EmpathyTpChat and TpyCallChannel - Use tp_simple_client_factory_ensure_account() instead of tp_account_manager_ensure_account(). - Rely on the factory to prepare connection features. This should ensure that all the TpProxy and TpContact objects created in Empathy are shared and use EmpathyClientFactory. https://bugzilla.gnome.org/show_bug.cgi?id=655799
* Remove useless occurences of 'gconf' wordXavier Claessens2010-06-211-2/+0
| | | | Die gconf, die!
* port check-empathy-chatroom-manager.c to GTestGuillaume Desmottes2009-11-031-0/+410
The tests have not been ported yet as they are currently disabled.