aboutsummaryrefslogtreecommitdiffstats
path: root/composer/main.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-02 07:53:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-02 07:53:33 +0800
commita029bb7982e6f00a84d5cf43f96188dac0be3c49 (patch)
tree57da4900fce6e3e19c2e9c0f571abde331b06c15 /composer/main.c
parent7edc1cf9c079a27a366ab77b79802a63b3c7a9c6 (diff)
downloadgsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.tar
gsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.tar.gz
gsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.tar.bz2
gsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.tar.lz
gsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.tar.xz
gsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.tar.zst
gsoc2013-evolution-a029bb7982e6f00a84d5cf43f96188dac0be3c49.zip
This needs to return a const char * and not a char *, because we're not
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_get_sig_file): This needs to return a const char * and not a char *, because we're not actually allocating memory here. (create_menubar_file): Changed "Send" to "Send Now" and added "Send Later" (menu_file_send_later_cb): New callback that emits the POSTPONE signal (equivalent to "Send Later" svn path=/trunk/; revision=5177
Diffstat (limited to 'composer/main.c')
-rw-r--r--composer/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/composer/main.c b/composer/main.c
index 383504d30d..41520cdde4 100644
--- a/composer/main.c
+++ b/composer/main.c
@@ -19,17 +19,17 @@ send_cb (EMsgComposer *composer,
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);
-
+
camel_object_unref (CAMEL_OBJECT (message));
-
+
#if 0
gtk_widget_destroy (GTK_WIDGET (composer));
gtk_main_quit ();
@@ -40,12 +40,12 @@ static guint
create_composer (void)
{
GtkWidget *composer;
-
+
composer = e_msg_composer_new ();
gtk_widget_show (composer);
-
+
gtk_signal_connect (GTK_OBJECT (composer), "send", GTK_SIGNAL_FUNC (send_cb), NULL);
-
+
return FALSE;
}