Commit 67d85d6f authored by Mike Engber's avatar Mike Engber
Browse files

NULL out preferred_zoom_levels in the destroy method (after freeing them)


	* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy):
	NULL out preferred_zoom_levels in the destroy method (after
	freeing them) in case someone looks at them before finalize.
parent 1566f160
2000-07-06 Michael Engber <engber@eazel.com>
* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy):
NULL out preferred_zoom_levels in the destroy method (after
freeing them) in case someone looks at them before finalize.
2000-07-05 Robin * Slomkowski <rslomkow@eazel.com>
* nautilus.spec.in: removed refernce to some *.svg files
......
......@@ -156,6 +156,7 @@ static void
nautilus_zoom_control_destroy (GtkObject *object)
{
nautilus_g_list_free_deep (NAUTILUS_ZOOM_CONTROL (object)->preferred_zoom_levels);
NAUTILUS_ZOOM_CONTROL (object)->preferred_zoom_levels = NULL;
NAUTILUS_CALL_PARENT_CLASS (GTK_OBJECT_CLASS, destroy, (object));
}
......
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