diff options
author | Darin Adler <darin@src.gnome.org> | 2000-01-07 00:07:34 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-01-07 00:07:34 +0000 |
commit | 313469f41318c61679368f9fa5973151f5f6500b (patch) | |
tree | 3ef5110ac2fadd29561c2ad4203a48b06b2e2ca8 /src/nautilus-self-check-functions.c | |
parent | 5abab532aa672b3febfbb97017fc42da767d9b97 (diff) | |
download | nautilus-313469f41318c61679368f9fa5973151f5f6500b.tar.gz |
Moved self-check framework into libnautilus. Added functions so each
check will report if it fails instead of just aborting.
Added new functions to manage a string that specifies a color or
gradient, and added tests for the new functions.
Diffstat (limited to 'src/nautilus-self-check-functions.c')
-rw-r--r-- | src/nautilus-self-check-functions.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/nautilus-self-check-functions.c b/src/nautilus-self-check-functions.c new file mode 100644 index 000000000..04fe6bcd4 --- /dev/null +++ b/src/nautilus-self-check-functions.c @@ -0,0 +1,39 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- + + nautilus-self-check-functions.c: Wrapper for all self check functions + in Nautilus proper. + + Copyright (C) 1999, 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> +*/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#if ! defined (NAUTILUS_OMIT_SELF_CHECK) + +#include "nautilus-self-check-functions.h" + +void nautilus_run_self_checks() +{ + nautilus_self_check_fm_directory(); +} + +#endif /* ! NAUTILUS_OMIT_SELF_CHECK */ |