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
This commit is contained in:
committed by
Chris Lahey
parent
a588f367b2
commit
d7afd9ba2a
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user