aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-02 23:07:05 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-02 23:38:18 +0800
commit922b5acaf43a0653447622fc022d37757357dc36 (patch)
treed1cc80169f5d1079a56152c9974a7afcae3f9c61 /libempathy
parentb6376eb0eb55563b0ba8d063ad8fe139a704fbd7 (diff)
downloadgsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.tar
gsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.tar.gz
gsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.tar.bz2
gsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.tar.lz
gsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.tar.xz
gsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.tar.zst
gsoc2013-empathy-922b5acaf43a0653447622fc022d37757357dc36.zip
rename unused empathy_chatroom_manager_chat_handled()
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-chatroom-manager.c33
-rw-r--r--libempathy/empathy-chatroom-manager.h4
2 files changed, 0 insertions, 37 deletions
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index 109f42839..edf6d6ced 100644
--- a/libempathy/empathy-chatroom-manager.c
+++ b/libempathy/empathy-chatroom-manager.c
@@ -792,39 +792,6 @@ chatroom_manager_chat_destroyed_cb (EmpathyTpChat *chat,
}
}
-/* Called by EmpathyChatManager when we are handling a new group chat */
-void
-empathy_chatroom_manager_chat_handled (EmpathyChatroomManager *self,
- EmpathyTpChat *chat,
- TpAccount *account)
-{
- EmpathyChatroom *chatroom;
- const gchar *roomname;
-
- roomname = empathy_tp_chat_get_id (chat);
-
- chatroom = empathy_chatroom_manager_find (self, account, roomname);
-
- if (chatroom == NULL)
- {
- chatroom = empathy_chatroom_new_full (account, roomname, roomname,
- FALSE);
- empathy_chatroom_set_tp_chat (chatroom, chat);
- empathy_chatroom_manager_add (self, chatroom);
- g_object_unref (chatroom);
- }
- else
- {
- empathy_chatroom_set_tp_chat (chatroom, chat);
- }
-
- /* A TpChat is always destroyed as it only gets unreffed after the channel
- * has been invalidated in the dispatcher.. */
- g_signal_connect (chat, "destroy",
- G_CALLBACK (chatroom_manager_chat_destroyed_cb),
- self);
-}
-
static void
observe_channels_cb (TpSimpleObserver *observer,
TpAccount *account,
diff --git a/libempathy/empathy-chatroom-manager.h b/libempathy/empathy-chatroom-manager.h
index 653c6d945..5afb2b474 100644
--- a/libempathy/empathy-chatroom-manager.h
+++ b/libempathy/empathy-chatroom-manager.h
@@ -79,10 +79,6 @@ EmpathyChatroom * empathy_chatroom_manager_ensure_chatroom (
GList * empathy_chatroom_manager_get_chatrooms (EmpathyChatroomManager *manager,
TpAccount *account);
-void empathy_chatroom_manager_chat_handled (EmpathyChatroomManager *self,
- EmpathyTpChat *chat,
- TpAccount *account);
-
G_END_DECLS
#endif /* __EMPATHY_CHATROOM_MANAGER_H__ */