]> git.0d.be Git - empathy.git/blobdiff - tests/empathy-chatroom-manager-test.c
Merge remote-tracking branch 'origin/gnome-3-8'
[empathy.git] / tests / empathy-chatroom-manager-test.c
index 966027f385a890df07bbf6bd4156df88a215a80b..7ebf87803cb49e43308266383b033b1ce1bbaa59 100644 (file)
@@ -1,13 +1,4 @@
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <glib/gstdio.h>
-
-#include <telepathy-glib/account-manager.h>
-#include <telepathy-glib/util.h>
-
-#include <libempathy/empathy-chatroom-manager.h>
-
+#include "empathy-chatroom-manager.h"
 #include "test-helper.h"
 
 #define CHATROOM_SAMPLE "chatrooms-sample.xml"
@@ -76,7 +67,7 @@ check_chatrooms_list (EmpathyChatroomManager *mgr,
   fail_if (g_hash_table_size (found) != 0);
 
   g_list_free (chatrooms);
-  g_hash_table_destroy (found);
+  g_hash_table_unref (found);
 }
 
 static gboolean