Clear appropriate global archive pointer
2001-07-12 Bradford Hovinen <hovinen@ximian.com> * archive.c (archive_destroy): Clear appropriate global archive pointer
This commit is contained in:
parent
3804a229da
commit
85bc24c3f4
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2001-07-12 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
* archive.c (archive_destroy): Clear appropriate global archive pointer
|
||||||
|
|
||||||
2001-07-12 Chema Celorio <chema@celorio.com>
|
2001-07-12 Chema Celorio <chema@celorio.com>
|
||||||
|
|
||||||
* Makefile.am (INCLUDES): update to the new location for the xst backends
|
* Makefile.am (INCLUDES): update to the new location for the xst backends
|
||||||
|
|
|
@ -298,6 +298,11 @@ archive_destroy (GtkObject *object)
|
||||||
|
|
||||||
GTK_OBJECT_CLASS (parent_class)->destroy (GTK_OBJECT (archive));
|
GTK_OBJECT_CLASS (parent_class)->destroy (GTK_OBJECT (archive));
|
||||||
|
|
||||||
|
if (archive->is_global)
|
||||||
|
global_archive = NULL;
|
||||||
|
else
|
||||||
|
user_archive = NULL;
|
||||||
|
|
||||||
DEBUG_MSG ("Exit");
|
DEBUG_MSG ("Exit");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue