ModestConf *conf;
priv = MODEST_EDIT_MSG_WINDOW_GET_PRIVATE(self);
- conf = modest_tny_platform_factory_get_modest_conf_instance (priv->fact);
+ conf = modest_tny_platform_factory_get_conf_instance
+ (MODEST_TNY_PLATFORM_FACTORY(priv->fact));
modest_widget_memory_save (conf, G_OBJECT(self), "modest-edit-msg-window");
}
ModestConf *conf;
priv = MODEST_EDIT_MSG_WINDOW_GET_PRIVATE(self);
- conf = modest_tny_platform_factory_get_modest_conf_instance (priv->fact);
-
+ conf = modest_tny_platform_factory_get_conf_instance
+ (MODEST_TNY_PLATFORM_FACTORY(priv->fact));
modest_widget_memory_restore (conf, G_OBJECT(self), "modest-edit-msg-window");
}
priv = MODEST_EDIT_MSG_WINDOW_GET_PRIVATE (self);
- header = tny_msg_get_header (msg);
+ header = tny_msg_get_header (msg);
to = tny_header_get_to (header);
cc = tny_header_get_cc (header);
bcc = tny_header_get_bcc (header);
buf = gtk_text_view_get_buffer (GTK_TEXT_VIEW(priv->msg_body));
gtk_text_buffer_set_text (buf,
- (const gchar *) modest_tny_msg_actions_find_body (msg, TRUE),
+ (const gchar *) modest_tny_msg_actions_find_body (msg, FALSE),
-1);
/* TODO: lower priority, select in the From: combo to the
/* don't free these (except from) */
data = g_slice_new0 (MsgData);
- data->from = g_strdup_printf ("%s <%s>", account_data->full_name, account_data->email) ;
+ data->from = g_strdup_printf ("%s <%s>", account_data->fullname, account_data->email) ;
data->to = (gchar*) gtk_entry_get_text (GTK_ENTRY(priv->to_field));
data->cc = (gchar*) gtk_entry_get_text (GTK_ENTRY(priv->cc_field));
data->bcc = (gchar*) gtk_entry_get_text (GTK_ENTRY(priv->bcc_field));