aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/test-print.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-07-21 05:39:10 +0800
committernobody <nobody@localhost>2001-07-21 05:39:10 +0800
commite5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8 (patch)
tree73e0cf26a0654d0e265dc3951ab83d825af9dd1f /addressbook/printing/test-print.c
parent5637adc2c07617b7f5ea206d24cfa073787a4e0d (diff)
downloadgsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.tar
gsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.tar.gz
gsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.tar.bz2
gsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.tar.lz
gsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.tar.xz
gsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.tar.zst
gsoc2013-evolution-e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8.zip
This commit was manufactured by cvs2svn to create tagMETATHEME_0_6_1
'METATHEME_0_6_1'. svn path=/tags/METATHEME_0_6_1/; revision=11288
Diffstat (limited to 'addressbook/printing/test-print.c')
-rw-r--r--addressbook/printing/test-print.c87
1 files changed, 0 insertions, 87 deletions
diff --git a/addressbook/printing/test-print.c b/addressbook/printing/test-print.c
deleted file mode 100644
index 1cb5bb0905..0000000000
--- a/addressbook/printing/test-print.c
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * test-print.c
- * Copyright (C) 2000 Ximian, Inc.
- * Author: Chris Lahey <clahey@ximian.com>
- *
- * This library 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 library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#include "config.h"
-
-#include <stdlib.h>
-#include <gtk/gtkmain.h>
-#include <libgnome/gnome-defs.h>
-#include <libgnomeui/gnome-app.h>
-#include <libgnomeui/gnome-dialog.h>
-#include <libgnomeui/gnome-init.h>
-#include <glade/glade.h>
-#include "e-contact-print.h"
-
-/* This is a horrible thing to do, but it is just a test. */
-GtkWidget *print;
-
-static gint test_close(GnomeDialog *dialog, gpointer data)
-{
- exit(0);
- return 1;
-}
-
-#if 0
-static void about_callback( GtkWidget *widget, gpointer data )
-{
-
- const gchar *authors[] =
- {
- "Christopher James Lahey <clahey@umich.edu>",
- NULL
- };
-
- GtkWidget *about =
- gnome_about_new ( _( "Contact Print Test" ), VERSION,
- _( "Copyright (C) 2000, Ximian, Inc." ),
- authors,
- _( "This should test the contact print code" ),
- NULL);
- gtk_widget_show (about);
-}
-#endif
-
-int main( int argc, char *argv[] )
-{
- GList *shown_fields = NULL;
-
- /* bindtextdomain (PACKAGE, GNOMELOCALEDIR);
- textdomain (PACKAGE);*/
-
- gnome_init( "Contact Print Test", VERSION, argc, argv);
-
- glade_gnome_init ();
-
- shown_fields = g_list_append(shown_fields, "First field");
- shown_fields = g_list_append(shown_fields, "Second field");
- shown_fields = g_list_append(shown_fields, "Third field");
- shown_fields = g_list_append(shown_fields, "Fourth field");
-
- print = e_contact_print_dialog_new(NULL, NULL);
- gtk_widget_show_all(print);
- gtk_signal_connect(GTK_OBJECT(print), "close", GTK_SIGNAL_FUNC(test_close), NULL);
-
- gtk_main();
-
- /* Not reached. */
- return 0;
-}