empathy r2220 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2220 - trunk/src
- Date: Fri, 9 Jan 2009 16:17:08 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 16:17:08 2009
New Revision: 2220
URL: http://svn.gnome.org/viewvc/empathy?rev=2220&view=rev
Log:
Clean some coding style
Modified:
trunk/src/empathy-event-manager.c
Modified: trunk/src/empathy-event-manager.c
==============================================================================
--- trunk/src/empathy-event-manager.c (original)
+++ trunk/src/empathy-event-manager.c Fri Jan 9 16:17:08 2009
@@ -151,10 +151,9 @@
}
static void
-event_manager_add (EmpathyEventManager *manager, EmpathyContact *contact,
- const gchar *icon_name, const gchar *message,
- EventManagerApproval *approval, EventFunc func,
- gpointer user_data)
+event_manager_add (EmpathyEventManager *manager, EmpathyContact *contact,
+ const gchar *icon_name, const gchar *message, EventManagerApproval *approval,
+ EventFunc func, gpointer user_data)
{
EmpathyEventManagerPriv *priv = GET_PRIV (manager);
EventPriv *event;
@@ -166,9 +165,7 @@
event->func = func;
event->user_data = user_data;
event->manager = manager;
-
- if (approval)
- event->approval = approval;
+ event->approval = approval;
DEBUG ("Adding event %p", event);
priv->events = g_slist_prepend (priv->events, event);
@@ -182,8 +179,8 @@
}
static void
-event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat,
- EmpathyMessage *message, EventManagerApproval *approval)
+event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat,
+ EmpathyMessage *message, EventManagerApproval *approval)
{
EmpathyContact *sender;
gchar *msg;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]