[empathy] roster-window: fix event_activated_cb callback signature
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] roster-window: fix event_activated_cb callback signature
- Date: Mon, 8 Oct 2012 08:38:40 +0000 (UTC)
commit 537ac5a986ea5b3959ae42f5b87145451a81b9b3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Oct 5 15:09:29 2012 +0200
roster-window: fix event_activated_cb callback signature
We receive the EmpathyEvent as the second signal argument, no as user_data
pointer (which is 'self').
https://bugzilla.gnome.org/show_bug.cgi?id=681725
src/empathy-roster-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 0c0d924..b042ba4 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -365,10 +365,9 @@ individual_activated_cb (EmpathyRosterView *self,
static void
event_activated_cb (EmpathyRosterView *self,
FolksIndividual *individual,
+ EmpathyEvent *event,
gpointer user_data)
{
- EmpathyEvent *event = user_data;
-
empathy_event_activate (event);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]