From e0965ab239c03af7a2bec82b1d39bb5f085e6e23 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 7 Sep 2007 07:51:47 +0000 Subject: 2007-09-07 mcrha Fix for bug #473903 svn path=/trunk/; revision=34192 --- mail/em-composer-utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/em-composer-utils.c') 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 */ -- cgit