empathy r2172 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2172 - trunk/libempathy
- Date: Fri, 9 Jan 2009 16:14:33 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 16:14:33 2009
New Revision: 2172
URL: http://svn.gnome.org/viewvc/empathy?rev=2172&view=rev
Log:
More style fixes
Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>
Modified:
trunk/libempathy/empathy-chatroom-manager.c
Modified: trunk/libempathy/empathy-chatroom-manager.c
==============================================================================
--- trunk/libempathy/empathy-chatroom-manager.c (original)
+++ trunk/libempathy/empathy-chatroom-manager.c Fri Jan 9 16:14:33 2009
@@ -655,7 +655,7 @@
}
static void
-empathy_chatroom_manager_chat_destroyed_cb (EmpathyTpChat *chat,
+chatroom_manager_chat_destroyed_cb (EmpathyTpChat *chat,
gpointer user_data)
{
EmpathyChatroomManager *manager = EMPATHY_CHATROOM_MANAGER (user_data);
@@ -675,13 +675,14 @@
if (!favorite)
{
/* Remove the chatroom from the list, unless it's in the list of
- * favourites.. (seems strange to handle this at such a low level.. */
+ * favourites..
+ * FIXME this policy should probably not be in libempathy */
empathy_chatroom_manager_remove (manager, chatroom);
}
}
static void
-empathy_chatroom_manager_observe_channel_cb (EmpathyDispatcher *dispatcher,
+chatroom_manager_observe_channel_cb (EmpathyDispatcher *dispatcher,
EmpathyDispatchOperation *operation, gpointer user_data)
{
EmpathyChatroomManager *manager = EMPATHY_CHATROOM_MANAGER (user_data);
@@ -724,10 +725,9 @@
/* 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 (empathy_chatroom_manager_chat_destroyed_cb),
+ G_CALLBACK (chatroom_manager_chat_destroyed_cb),
manager);
- g_object_unref (account);
g_object_unref (chat);
out:
g_object_unref (channel);
@@ -738,5 +738,5 @@
EmpathyDispatcher *dispatcher)
{
g_signal_connect (dispatcher, "observe",
- G_CALLBACK (empathy_chatroom_manager_observe_channel_cb), manager);
+ G_CALLBACK (chatroom_manager_observe_channel_cb), manager);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]