Commit 0d857f95 authored by Maciej Stachowiak's avatar Maciej Stachowiak

gtk_quit_add_destroy the NautilusWindow at level 1, so that we can clean

	* src/ntl-window.c (nautilus_window_init): gtk_quit_add_destroy
	the NautilusWindow at level 1, so that we can clean up CORBA
	objects and such when we Exit rather than Closing the last window.
parent 8b49231a
2000-02-15 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-window.c (nautilus_window_init): gtk_quit_add_destroy
the NautilusWindow at level 1, so that we can clean up CORBA
objects and such when we Exit rather than Closing the last window.
* src/ntl-index-panel.c: sink and ref the notebook and unref in
the destructor, so it gets destroyed even if it never ends up
getting added to the index panel.
......
......@@ -411,6 +411,7 @@ nautilus_window_class_init (NautilusWindowClass *klass)
static void
nautilus_window_init (NautilusWindow *window)
{
gtk_quit_add_destroy (1, GTK_OBJECT (window));
}
static gboolean
......
......@@ -411,6 +411,7 @@ nautilus_window_class_init (NautilusWindowClass *klass)
static void
nautilus_window_init (NautilusWindow *window)
{
gtk_quit_add_destroy (1, GTK_OBJECT (window));
}
static gboolean
......
......@@ -411,6 +411,7 @@ nautilus_window_class_init (NautilusWindowClass *klass)
static void
nautilus_window_init (NautilusWindow *window)
{
gtk_quit_add_destroy (1, GTK_OBJECT (window));
}
static gboolean
......
......@@ -411,6 +411,7 @@ nautilus_window_class_init (NautilusWindowClass *klass)
static void
nautilus_window_init (NautilusWindow *window)
{
gtk_quit_add_destroy (1, GTK_OBJECT (window));
}
static gboolean
......
......@@ -411,6 +411,7 @@ nautilus_window_class_init (NautilusWindowClass *klass)
static void
nautilus_window_init (NautilusWindow *window)
{
gtk_quit_add_destroy (1, GTK_OBJECT (window));
}
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment