aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:35 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:35 +0800
commitd968b3380c661d8c31be352afbd373cac5fcb673 (patch)
tree6c2f00bd75cdf966ce23cd70dc19e3b5bafcf382 /src/empathy-event-manager.c
parent111068fd8b34e36ffbfd9614001918bb31388e73 (diff)
downloadgsoc2013-empathy-d968b3380c661d8c31be352afbd373cac5fcb673.tar.gz
gsoc2013-empathy-d968b3380c661d8c31be352afbd373cac5fcb673.tar.zst
gsoc2013-empathy-d968b3380c661d8c31be352afbd373cac5fcb673.zip
W.I.P. for notifications on chat window.
svn path=/trunk/; revision=2285
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 253067ff1..f4e774b84 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -230,7 +230,6 @@ event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat,
/* try to update the event if it's referring to a chat which is already in the
* queue. */
-
event = event_lookup_by_approval (approval->manager, approval);
if (event != NULL && event->inhibit)
@@ -248,7 +247,7 @@ event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat,
channel = empathy_tp_chat_get_channel (tp_chat);
if (event != NULL)
- event_update (approval->manager, event, EMPATHY_IMAGE_NEW_MESSAGE, header, msg);
+ event_update (approval->manager, event, EMPATHY_IMAGE_NEW_MESSAGE, header, msg);
else
event_manager_add (approval->manager, sender, EMPATHY_IMAGE_NEW_MESSAGE, header,
msg, approval, event_channel_process_func, NULL);