aboutsummaryrefslogtreecommitdiffstats
path: root/mail/test-mail.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-05-19 20:49:14 +0800
committernobody <nobody@localhost>2001-05-19 20:49:14 +0800
commit88afa58a5b1f01cbefd89795c4dab371fb31f9c3 (patch)
tree8ef1ebf263e35adadb85e8450c2559f6d9edc16b /mail/test-mail.c
parent0b11ddccb9aa109b28f69fefb790453b558a096c (diff)
downloadgsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.tar
gsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.tar.gz
gsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.tar.bz2
gsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.tar.lz
gsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.tar.xz
gsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.tar.zst
gsoc2013-evolution-88afa58a5b1f01cbefd89795c4dab371fb31f9c3.zip
This commit was manufactured by cvs2svn to create tag 'GAL_0_8'.GAL_0_8
svn path=/tags/GAL_0_8/; revision=9892
Diffstat (limited to 'mail/test-mail.c')
-rw-r--r--mail/test-mail.c78
1 files changed, 0 insertions, 78 deletions
diff --git a/mail/test-mail.c b/mail/test-mail.c
deleted file mode 100644
index ae77a69722..0000000000
--- a/mail/test-mail.c
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Tests the mail summary display bonobo component
- *
- * Author:
- * Miguel de Icaza (miguel@kernel.org)
- *
- * (C) 2000 Helix Code, Inc.
- */
-
-#include <config.h>
-
-#include <gtk/gtkmain.h>
-#include <gtk/gtkwidget.h>
-#include <libgnome/gnome-defs.h>
-#include <libgnomeui/gnome-init.h>
-#include <liboaf/liboaf.h>
-#include <bonobo/bonobo-main.h>
-#include <bonobo/bonobo-ui-container.h>
-#include <bonobo/bonobo-widget.h>
-
-static guint
-create_container (void)
-{
- GtkWidget *window, *control;
- BonoboUIContainer *container;
-
- gdk_rgb_init ();
-
- gtk_widget_set_default_colormap (gdk_rgb_get_cmap ());
- gtk_widget_set_default_visual (gdk_rgb_get_visual ());
-
- window = bonobo_window_new ("Test", "test");
- gtk_widget_set_usize (GTK_WIDGET (window), 640, 480);
- gtk_widget_show (GTK_WIDGET (window));
-
- container = bonobo_ui_container_new ();
- bonobo_ui_container_set_win (container, BONOBO_WINDOW (window));
-
- control = bonobo_widget_new_control (
- "OAFIID:GNOME_Evolution_Mail_Control",
- bonobo_object_corba_objref (BONOBO_OBJECT (container)));
-
- if (control == NULL){
- printf ("Could not launch mail control\n");
- exit (1);
- }
- gtk_container_add (GTK_CONTAINER (window), control);
-
- gtk_widget_show (window);
- gtk_widget_show (control);
-
-
- return FALSE;
-}
-
-int
-main (int argc, char *argv [])
-{
- gnome_init ("sample-control-container", "1.0", argc, argv);
- oaf_init (argc, argv);
-
- if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
- g_error ("Could not initialize Bonobo\n");
-
- gtk_idle_add ((GtkFunction) create_container, NULL);
-
- /*
- * Main loop
- */
- bonobo_main ();
-
- return 0;
-}
-
-
-
-
-