aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-03 20:12:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-03 20:12:04 +0800
commiteca5223b875706bd304aba1632bd303cf242e2ed (patch)
tree4b9ac85d32e2cb02a03fc7b77c03a01b1f7562f4 /calendar/gui/e-calendar-view.c
parent5c7182a0a85b54920f333a9a035af1d293ab2247 (diff)
downloadgsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar
gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.gz
gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.bz2
gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.lz
gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.xz
gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.tar.zst
gsoc2013-evolution-eca5223b875706bd304aba1632bd303cf242e2ed.zip
Bug 628654 - e_calendar_view_get_tooltips memory leak
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 57a96d8990..2bc7eef003 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1792,7 +1792,7 @@ e_calendar_view_get_attendees_status_info (ECalComponent *comp, ECal *client)
*/
gboolean
-e_calendar_view_get_tooltips (ECalendarViewEventData *data)
+e_calendar_view_get_tooltips (const ECalendarViewEventData *data)
{
GtkWidget *label, *box, *hbox, *ebox, *frame;
const gchar *str;
@@ -1833,7 +1833,6 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
if (!(str && *str)) {
g_object_unref (newcomp);
gtk_widget_destroy (box);
- g_free (data);
return FALSE;
}
@@ -1974,7 +1973,6 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
g_object_set_data (G_OBJECT (data->cal_view), "tooltip-window", pevent->tooltip);
g_object_unref (newcomp);
- g_free (data);
return FALSE;
}