aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-11 07:27:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-11 07:27:49 +0800
commitd200d93b12774cfb83450ff868df09a06384615e (patch)
tree2832cb9d6ee7b116dca9791f107f66d44c261816
parent9e1498b952cca989661f5ed072b842b5289f7a5b (diff)
downloadgsoc2013-evolution-d200d93b12774cfb83450ff868df09a06384615e.tar.gz
gsoc2013-evolution-d200d93b12774cfb83450ff868df09a06384615e.tar.zst
gsoc2013-evolution-d200d93b12774cfb83450ff868df09a06384615e.zip
Don't call new_with_sig_file, it no longer exists.
2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (init): Don't call new_with_sig_file, it no longer exists. * e-msg-composer.c (setup_ui): Make sure that the session is non-NULL. (menu_file_send_cb): And here too. (e_msg_composer_new_with_sig_file): Removed. svn path=/trunk/; revision=12753
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer.c21
-rw-r--r--composer/e-msg-composer.h1
-rw-r--r--composer/evolution-composer.c2
4 files changed, 6 insertions, 22 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 45e7d946e4..6461add96f 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,8 +1,12 @@
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
+ * evolution-composer.c (init): Don't call new_with_sig_file, it no
+ longer exists.
+
* e-msg-composer.c (setup_ui): Make sure that the session is
non-NULL.
(menu_file_send_cb): And here too.
+ (e_msg_composer_new_with_sig_file): Removed.
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 69d63dfb93..1ffade52be 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2423,30 +2423,11 @@ e_msg_composer_new (void)
EMsgComposer *new;
new = create_composer ();
- if (new)
- set_editor_text (new, "");
-
- return new;
-}
-
-/**
- * e_msg_composer_new_with_sig_file:
- *
- * Create a new message composer widget. Sets the signature file.
- *
- * Return value: A pointer to the newly created widget
- **/
-EMsgComposer *
-e_msg_composer_new_with_sig_file ()
-{
- EMsgComposer *new;
-
- new = create_composer ();
if (new) {
e_msg_composer_set_send_html (new, mail_config_get_send_html ());
set_editor_text (new, "");
}
-
+
return new;
}
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index e661909662..e3cc8537ee 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -106,7 +106,6 @@ struct _EMsgComposerClass {
GtkType e_msg_composer_get_type (void);
void e_msg_composer_construct (EMsgComposer *composer);
EMsgComposer *e_msg_composer_new (void);
-EMsgComposer *e_msg_composer_new_with_sig_file (void);
EMsgComposer *e_msg_composer_new_with_message (CamelMimeMessage *msg);
EMsgComposer *e_msg_composer_new_from_url (const char *url);
void e_msg_composer_show_attachments (EMsgComposer *composer,
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c
index 6a24186fa2..2562c7c70d 100644
--- a/composer/evolution-composer.c
+++ b/composer/evolution-composer.c
@@ -248,7 +248,7 @@ init (EvolutionComposer *composer)
const MailConfigAccount *account;
account = mail_config_get_default_account ();
- composer->composer = e_msg_composer_new_with_sig_file ();
+ composer->composer = e_msg_composer_new ();
gtk_signal_connect (GTK_OBJECT (composer->composer), "send",
GTK_SIGNAL_FUNC (send_cb), NULL);