diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-01 11:30:00 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-01 11:30:00 +0800 |
commit | 71c5738707028d12a3129a94a1b3823a7fab573c (patch) | |
tree | 262692b346e33d5cb0a08a3845ab9dc749f46068 /widgets/table/table-test.c | |
parent | c1a12789acbbc59830e9141da9024debaecccdb2 (diff) | |
download | gsoc2013-evolution-71c5738707028d12a3129a94a1b3823a7fab573c.tar.gz gsoc2013-evolution-71c5738707028d12a3129a94a1b3823a7fab573c.tar.zst gsoc2013-evolution-71c5738707028d12a3129a94a1b3823a7fab573c.zip |
Only #include specific libgnome[ui] headers; easier to track.
Stop including top-level libgnome[ui] headers -- <gnome.h>,
<libgnome/libgnome.h> and <libgnomeui/libgnomeui.h>. Instead, include
specific header files so we can track them easier.
Also, remove several unshipped test programs. Mostly ETable stuff.
Diffstat (limited to 'widgets/table/table-test.c')
-rw-r--r-- | widgets/table/table-test.c | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/widgets/table/table-test.c b/widgets/table/table-test.c deleted file mode 100644 index 3f42c86743..0000000000 --- a/widgets/table/table-test.c +++ /dev/null @@ -1,65 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) version 3. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> - * - * - * Authors: - * Miguel de Icaza <miguel@gnu.org> - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#include <config.h> - -#include <stdio.h> -#include <string.h> -#include <fcntl.h> - -#include <gnome.h> - -#include "misc/e-cursors.h" - -#include "table-test.h" - -int -main (int argc, char *argv []) -{ - - if (isatty (0)){ - int fd; - - close (0); - fd = open ("sample.table", O_RDONLY); - if (fd == -1){ - fprintf (stderr, "Could not find sample.table, try feeding a table on stdin"); - exit (1); - } - dup2 (fd, 0); - } - - gnome_init ("TableTest", "TableTest", argc, argv); - e_cursors_init (); - - -/* table_browser_test (); */ -/* multi_cols_test (); */ -/* check_test (); */ - - e_table_test (); - - gtk_main (); - - e_cursors_shutdown (); - return 0; -} |