diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
commit | e0965ab239c03af7a2bec82b1d39bb5f085e6e23 (patch) | |
tree | 946eee9f7cb4090de265afd449d3dc8e9bf8fe62 /mail/em-composer-utils.c | |
parent | 9841d5bfd279d7f8540f2035fb0fa5b6eddb4138 (diff) | |
download | gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.gz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.zst gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.zip |
2007-09-07 mcrha Fix for bug #473903
svn path=/trunk/; revision=34192
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index b238d05b22..0d4c056450 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -257,7 +257,7 @@ composer_get_message (EMsgComposer *composer, gboolean save_html_object_data) int i; GList *postlist; EMEvent *eme; - EMEventTargetMessage *target; + EMEventTargetComposer *target; gconf = mail_config_get_gconf_client (); @@ -367,11 +367,11 @@ composer_get_message (EMsgComposer *composer, gboolean save_html_object_data) */ eme = em_event_peek(); target = em_event_target_new_composer (eme, composer, 0); - g_object_set_data (composer, "presend_check_status", GINT_TO_POINTER(0)); + g_object_set_data (G_OBJECT (composer), "presend_check_status", GINT_TO_POINTER(0)); e_event_emit((EEvent *)eme, "composer.presendchecks", (EEventTarget *)target); - if (GPOINTER_TO_INT (g_object_get_data (composer, "presend_check_status"))) + if (GPOINTER_TO_INT (g_object_get_data (G_OBJECT (composer), "presend_check_status"))) goto finished; /* actually get the message now, this will sign/encrypt etc */ |