aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-calendar-table.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f942c4d272..0aaaba92ef 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2000-11-24 Federico Mena Quintero <federico@helixcode.com>
+ * gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable
+ extras.
+
+2000-11-24 Federico Mena Quintero <federico@helixcode.com>
+
* cal-util/cal-component.c (free_icalcomponent): DOH, fixed
reversed test for the presence of the icalcomp's parent. This was
causing memory leaks in the Wombat and elsewhere.
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index abdad0e24d..6288f29f17 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -224,6 +224,8 @@ e_calendar_table_init (ECalendarTable *cal_table)
table = e_table_scrolled_new (model, extras, E_CALENDAR_TABLE_SPEC,
NULL);
+ gtk_object_unref (GTK_OBJECT (extras));
+
cal_table->etable = table;
gtk_table_attach (GTK_TABLE (cal_table), table, 0, 1, 0, 1,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);