diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-09-02 06:47:32 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-09-02 06:47:32 +0800 |
commit | 91c7d5d800c1b03e014b5fb10dfea6cd8609e627 (patch) | |
tree | 5ff8405ec2ce4c356c3642e8b70180b00b161aab /calendar/gui/e-calendar-table.c | |
parent | 6993fc1c571c50c9d042cc26f0fd0e049492e37c (diff) | |
download | gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.gz gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.bz2 gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.lz gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.xz gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.tar.zst gsoc2013-evolution-91c7d5d800c1b03e014b5fb10dfea6cd8609e627.zip |
Use gnome_calendar_construct() so that we can check for proper creation of
2000-09-01 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_new): Use
gnome_calendar_construct() so that we can check for proper
creation of the client.
(gnome_calendar_destroy): Check that the client exists before we
unref it.
(gnome_calendar_construct): Do the CalClient creation here. Bind
the views to it here as well instead of in setup_widgets().
(gnome_calendar_init): Call setup_widgets() here.
* gui/e-calendar-table.c (e_calendar_table_destroy): Unref the
model.
2000-09-01 JP Rosevear <jpr@helixcode.com>
svn path=/trunk/; revision=5175
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r-- | calendar/gui/e-calendar-table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c index b84e21b34a..17f957623f 100644 --- a/calendar/gui/e-calendar-table.c +++ b/calendar/gui/e-calendar-table.c @@ -285,7 +285,8 @@ e_calendar_table_destroy (GtkObject *object) cal_table = E_CALENDAR_TABLE (object); - + gtk_object_unref (GTK_OBJECT (cal_table->model)); + cal_table->model = NULL; GTK_OBJECT_CLASS (parent_class)->destroy (object); } |