diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-composer-utils.c | 4 | ||||
-rw-r--r-- | mail/em-composer-utils.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index cc8c1e33d6..6c60925c3f 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1394,7 +1394,7 @@ quoting_text (QuotingTextEnum type) * Opens a composer filled in with the headers/mime-parts/etc of * @message. **/ -GtkWidget * +EMsgComposer * em_utils_edit_message (EShell *shell, CamelFolder *folder, CamelMimeMessage *message, @@ -1491,7 +1491,7 @@ em_utils_edit_message (EShell *shell, gtk_widget_show (GTK_WIDGET (composer)); - return GTK_WIDGET (composer); + return composer; } static void diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h index 5c3eb73889..7084c37371 100644 --- a/mail/em-composer-utils.h +++ b/mail/em-composer-utils.h @@ -38,7 +38,7 @@ EMsgComposer * em_utils_compose_new_message_with_mailto (EShell *shell, const gchar *mailto, CamelFolder *folder); -GtkWidget * em_utils_edit_message (EShell *shell, +EMsgComposer * em_utils_edit_message (EShell *shell, CamelFolder *folder, CamelMimeMessage *message, const gchar *message_uid, |