nautilus/libnautilus-private/nautilus-lib-self-check-functions.c
Darin Adler f94c3b495e Leak-checking-related fixes.
* libnautilus-extensions/nautilus-file.c: (destroy):
	Fixed a storage leak (we weren't freeing file->details).
	* libnautilus-extensions/nautilus-self-checks.c:
	(nautilus_check_string_result): Fixed a storage leak.

	* libnautilus-extensions/nautilus-directory-async.c:
	(metafile_read_done), (metafile_read_failed),
	(metafile_read_complete): Added some asserts.
	* libnautilus-extensions/nautilus-directory.c:
	(nautilus_self_check_directory): Added one more "assert".

	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
	(nautilus_run_lib_self_checks): Formatting tweaks.
	* nautilus-widgets/nautilus-widgets-self-check-functions.c:
	(nautilus_widgets_run_self_checks): Formatting tweaks.

	* nautilus-widgets/nautilus-preference.c:
	(nautilus_widgets_self_check_preference): Made the test
	not repeat things so many times. It doesn't help find the
	leaks, it actually hurts :-)

	* src/nautilus-application.c: (nautilus_app_quit):
	* src/nautilus-main.c: (main):
	Moved the gnome_vfs_shutdown out to the main loop instead of
	putting it inside nautilus-application.c since that matches
	how we do the initializing.
2000-06-08 01:25:16 +00:00

39 lines
1.2 KiB
C

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
nautilus-lib-self-check-functions.c: Wrapper for all self check functions
in Nautilus proper.
Copyright (C) 2000 Eazel, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
Author: Darin Adler <darin@eazel.com>
*/
#include <config.h>
#if ! defined (NAUTILUS_OMIT_SELF_CHECK)
#include "nautilus-lib-self-check-functions.h"
void
nautilus_run_lib_self_checks (void)
{
NAUTILUS_LIB_FOR_EACH_SELF_CHECK_FUNCTION (NAUTILUS_CALL_SELF_CHECK_FUNCTION)
}
#endif /* ! NAUTILUS_OMIT_SELF_CHECK */