diff options
author | JP Rosevear <jpr@ximian.com> | 2001-05-04 23:44:17 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-05-04 23:44:17 +0800 |
commit | 562717e70a312939a8c9e828f587cb2f1e4a3b24 (patch) | |
tree | 61c344a024a30c94de6ccea0750927d5bb1cca8b /calendar/gui | |
parent | ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88 (diff) | |
download | gsoc2013-evolution-562717e70a312939a8c9e828f587cb2f1e4a3b24.tar.gz gsoc2013-evolution-562717e70a312939a8c9e828f587cb2f1e4a3b24.tar.zst gsoc2013-evolution-562717e70a312939a8c9e828f587cb2f1e4a3b24.zip |
unref the calcomponent when we're done with it
2001-05-04 JP Rosevear <jpr@ximian.com>
* gui/calendar-model.c (calendar_model_append_row): unref the
calcomponent when we're done with it
* cal-util/cal-component.c (cal_component_gen_uid): free the iso
date string when we finish with it
svn path=/trunk/; revision=9670
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/calendar-model.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index b9c11e16ef..d3b95e5054 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -1365,6 +1365,8 @@ calendar_model_append_row (ETableModel *etm, ETableModel *source, gint row) /* FIXME: Show error dialog. */ g_message ("calendar_model_append_row(): Could not add new object!"); } + + gtk_object_unref (GTK_OBJECT (comp)); } /* Duplicates a string value */ |