aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-event.c
diff options
context:
space:
mode:
authorLucian Langa <lucilanga@gnome.org>2009-10-29 03:23:05 +0800
committerLucian Langa <lucilanga@gnome.org>2009-10-29 03:23:05 +0800
commit38caddc649d0ffbc9721d61a706324626fadd6a8 (patch)
treeb4cf958d864b3dc93a8c378d9a942d61c83ce980 /e-util/e-event.c
parent1cd5fb6de35c30eb1965c9847a808aefac325778 (diff)
downloadgsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.tar
gsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.tar.gz
gsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.tar.bz2
gsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.tar.lz
gsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.tar.xz
gsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.tar.zst
gsoc2013-evolution-38caddc649d0ffbc9721d61a706324626fadd6a8.zip
fix a regression caused by EEvent cleanup
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r--e-util/e-event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-event.c b/e-util/e-event.c
index 032b10af70..7d0680082c 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;