]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-connection-aggregator.c
Merge branch 'gnome-3-8'
[empathy.git] / libempathy / empathy-connection-aggregator.c
index 8d05b6c28994bdf62e93512724e4f0cd84ca172e..763715f9e30c618beff4a56624de645c6762c0e0 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <config.h>
-
+#include "config.h"
 #include "empathy-connection-aggregator.h"
 
-#include <telepathy-glib/telepathy-glib.h>
-
 #define DEBUG_FLAG EMPATHY_DEBUG_OTHER
 #include "empathy-debug.h"
-#include "empathy-utils.h"
-
-
-#include "extensions/extensions.h"
 
 G_DEFINE_TYPE (EmpathyConnectionAggregator, empathy_connection_aggregator,
     G_TYPE_OBJECT);
@@ -128,6 +121,7 @@ check_connection (EmpathyConnectionAggregator *self,
       contact_list_changed_cb (conn, contacts, empty, self);
       g_ptr_array_unref (empty);
     }
+  g_ptr_array_unref (contacts);
 
   tp_g_signal_connect_object (conn, "invalidated",
       G_CALLBACK (conn_invalidated_cb), self, 0);