aboutsummaryrefslogtreecommitdiffstats
path: root/composer/main.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-02-17 07:51:01 +0800
committernobody <nobody@localhost>2000-02-17 07:51:01 +0800
commit2b80feefead30f2b24a3c51c4b52373c5faacbac (patch)
tree646d019769a1d66081bd13dc9cab96c4417d8843 /composer/main.c
parent5a80143a526ddc84b31e8458c525d40580c06810 (diff)
downloadgsoc2013-evolution-GNOME_CORE_1_1_4.tar
gsoc2013-evolution-GNOME_CORE_1_1_4.tar.gz
gsoc2013-evolution-GNOME_CORE_1_1_4.tar.bz2
gsoc2013-evolution-GNOME_CORE_1_1_4.tar.lz
gsoc2013-evolution-GNOME_CORE_1_1_4.tar.xz
gsoc2013-evolution-GNOME_CORE_1_1_4.tar.zst
gsoc2013-evolution-GNOME_CORE_1_1_4.zip
This commit was manufactured by cvs2svn to create tagGNOME_CORE_1_1_4
'GNOME_CORE_1_1_4'. svn path=/tags/GNOME_CORE_1_1_4/; revision=1807
Diffstat (limited to 'composer/main.c')
-rw-r--r--composer/main.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/composer/main.c b/composer/main.c
deleted file mode 100644
index 8fbf01b5e8..0000000000
--- a/composer/main.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;
-}