aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-11-25 08:17:11 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-11-25 08:17:11 +0800
commitf58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5 (patch)
tree3909c95dad84a4449db02b3be1e5dbecad7fdf06
parent785dc9bc40091a73a8e967ed3000b138ea7da89c (diff)
downloadgsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.tar
gsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.tar.gz
gsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.tar.bz2
gsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.tar.lz
gsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.tar.xz
gsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.tar.zst
gsoc2013-evolution-f58d47f9b3244b2c994b54bfe0d7ccfde6ba29f5.zip
Unref the ETable extras.
2000-11-24 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable extras. svn path=/trunk/; revision=6663
-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);