aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>1999-11-17 23:36:35 +0800
committerEttore Perazzoli <ettore@src.gnome.org>1999-11-17 23:36:35 +0800
commit753e37deb7611621dfed0b869966cd59dcfa8e2a (patch)
treebc2b83d1878ca54afca857723d9f136e7308e3d3 /tests
parent9663037f6c0daaf03d74c88afb002a6bb33f222b (diff)
downloadgsoc2013-evolution-753e37deb7611621dfed0b869966cd59dcfa8e2a.tar.gz
gsoc2013-evolution-753e37deb7611621dfed0b869966cd59dcfa8e2a.tar.zst
gsoc2013-evolution-753e37deb7611621dfed0b869966cd59dcfa8e2a.zip
Removed the old message composer test.
svn path=/trunk/; revision=1396
Diffstat (limited to 'tests')
-rw-r--r--tests/ui-tests/msg-composer-test.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/tests/ui-tests/msg-composer-test.c b/tests/ui-tests/msg-composer-test.c
deleted file mode 100644
index 8fbf01b5e8..0000000000
--- a/tests/ui-tests/msg-composer-test.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
-
-#include <gnome.h>
-
-#include <camel/camel-data-wrapper.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-stream.h>
-
-#include "e-msg-composer.h"
-
-static void
-send_cb (EMsgComposer *composer,
- gpointer data)
-{
- CamelMimeMessage *message;
- CamelStream *stream;
- gint stdout_dup;
-
- message = e_msg_composer_get_message (composer);
-
- stdout_dup = dup (1);
- stream = camel_stream_fs_new_with_fd (stdout_dup);
- camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message),
- stream);
- camel_stream_close (stream);
-
- gtk_object_unref (GTK_OBJECT (message));
-
-#if 0
- gtk_widget_destroy (GTK_WIDGET (composer));
- gtk_main_quit ();
-#endif
-}
-
-int
-main (int argc, char **argv)
-{
- GtkWidget *composer;
-
- gnome_init ("test", "0.0", argc, argv);
- glade_gnome_init ();
-
- composer = e_msg_composer_new ();
- gtk_widget_show (composer);
-
- gtk_signal_connect (GTK_OBJECT (composer), "send",
- GTK_SIGNAL_FUNC (send_cb), NULL);
-
- gtk_main ();
-
- return 0;
-}