diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-19 23:33:16 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-19 23:33:16 +0800 |
commit | c09bcfdc4332454675f3ee5bb070f5cd702a065e (patch) | |
tree | f9543413cf8e0645a130cf0a287c38c20bf429fb /composer/e-msg-composer.h | |
parent | 288e7bb1fbbbf90a8c80aac2ef9f3aaa729affad (diff) | |
download | gsoc2013-evolution-c09bcfdc4332454675f3ee5bb070f5cd702a065e.tar.gz gsoc2013-evolution-c09bcfdc4332454675f3ee5bb070f5cd702a065e.tar.zst gsoc2013-evolution-c09bcfdc4332454675f3ee5bb070f5cd702a065e.zip |
Don't g_error out if the html-editor-control fails. (create_composer): New
* e-msg-composer.c (e_msg_composer_construct): Don't g_error out
if the html-editor-control fails.
(create_composer): New internal function to create and construct a
msg_composer and pop up an error message if it fails.
(e_msg_composer_new, e_msg_composer_new_with_sig_file,
e_msg_composer_new_with_message, e_msg_composer_new_from_url): Use
create_composer, return if it fails, change return type to
EMsgComposer *.
svn path=/trunk/; revision=5501
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r-- | composer/e-msg-composer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 8903889260..48a933329e 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -81,10 +81,10 @@ struct _EMsgComposerClass { GtkType e_msg_composer_get_type (void); void e_msg_composer_construct (EMsgComposer *composer); -GtkWidget *e_msg_composer_new (void); -GtkWidget *e_msg_composer_new_with_sig_file (const char *sig_file); -GtkWidget *e_msg_composer_new_with_message (CamelMimeMessage *msg); -GtkWidget *e_msg_composer_new_from_url (const char *url); +EMsgComposer *e_msg_composer_new (void); +EMsgComposer *e_msg_composer_new_with_sig_file (const char *sig_file); +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, gboolean show); |