aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-10 01:19:35 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-10 01:19:35 +0800
commitd7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0 (patch)
treeea4dfd76abecd8fc88354a8893a678060ebc8bf8 /addressbook
parenta588f367b2ef4fab4ec701667551454da084eed3 (diff)
downloadgsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.gz
gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.zst
gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.zip
Destroy the view object when leaving the minicard view.
2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Destroy the view object when leaving the minicard view. svn path=/trunk/; revision=2953
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 70b7181391..c0564bbffc 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
+ * gui/component/addressbook.c: Destroy the view object when
+ leaving the minicard view.
+
+2000-05-09 Christopher James Lahey <clahey@helixcode.com>
+
* gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call
reflow_request when sorting on an item changes.
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 13f936188e..825288fa49 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -574,13 +574,16 @@ set_prop (BonoboPropertyBag *bag,
static void
teardown_minicard_view (AddressbookView *view)
{
+ if (view->view) {
+ gtk_object_destroy(GTK_OBJECT(view->view));
+ view->view = NULL;
+ }
if (view->minicard_vbox) {
gtk_widget_destroy(view->minicard_vbox);
view->minicard_vbox = NULL;
}
view->canvas = NULL;
- view->view = NULL;
}
static void