[evolution] fix a regression caused by EEvent cleanup
- From: Lucian Langa <lucilanga src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] fix a regression caused by EEvent cleanup
- Date: Wed, 28 Oct 2009 19:23:51 +0000 (UTC)
commit 38caddc649d0ffbc9721d61a706324626fadd6a8
Author: Lucian Langa <lucilanga gnome org>
Date: Wed Oct 28 21:23:05 2009 +0200
fix a regression caused by EEvent cleanup
e-util/e-event.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-event.c b/e-util/e-event.c
index 032b10a..7d06800 100644
--- a/e-util/e-event.c
+++ b/e-util/e-event.c
@@ -280,12 +280,12 @@ e_event_emit(EEvent *event, const gchar *id, EEventTarget *target)
struct _event_info *info = events->data;
EEventItem *item = info->item;
- d(printf("event '%s' mask %08x target %08x\n", event->id, event->enable, target->mask));
+ d(printf("event '%s' mask %08x target %08x\n", item->id, item->enable, target->mask));
if (item->enable & target->mask)
continue;
- if (strcmp(event->id, id) == 0) {
+ if (strcmp(item->id, id) == 0) {
item->handle(event, item, info->parent->data);
if (item->type == E_EVENT_SINK)
@@ -320,7 +320,7 @@ e_event_target_new (EEvent *event,
}
target = g_malloc0 (size);
- target->event = g_object_ref (event);;
+ target->event = g_object_ref (event);
target->type = type;
return target;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]