diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-03 20:12:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-03 20:12:04 +0800 |
commit | eca5223b875706bd304aba1632bd303cf242e2ed (patch) | |
tree | 4b9ac85d32e2cb02a03fc7b77c03a01b1f7562f4 /calendar/gui/e-day-view.c | |
parent | 5c7182a0a85b54920f333a9a035af1d293ab2247 (diff) | |
download | gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.gz gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.zst gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.zip |
Bug 628654 - e_calendar_view_get_tooltips memory leak
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 95bd14b74a..d203bd97d7 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -6414,7 +6414,10 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item, data->day = day; data->event_num = event_num; data->get_view_event = (ECalendarViewEvent * (*)(ECalendarView *, int, gint)) tooltip_get_view_event; - pevent->timeout = g_timeout_add (500, (GSourceFunc)e_calendar_view_get_tooltips, data); + pevent->timeout = g_timeout_add_full ( + G_PRIORITY_DEFAULT, 500, + (GSourceFunc)e_calendar_view_get_tooltips, + data, (GDestroyNotify) g_free); return TRUE; } |