add: if ( OPERATION_SELECTIONNEE -> operation_ventilee ) {   GSList *liste_tmp;  liste_tmp = LISTE_OPERATIONS;  while ( liste_tmp ) { struct structure_operation *ope_fille;  ope_fille = liste_tmp -> data;  if ( ope_fille -> no_operation_ventilee_associee == OPERATION_SELECTIONNEE -> no_operation ) ope_fille -> pointe = OPERATION_SELECTIONNEE -> pointe;  liste_tmp = liste_tmp -> next; } }
context: void p_press (void){  gdouble montant;/*   si ctrl n'est pas enfonc, on se barre */  if ( etat.ctrl != 1 )    return;  p_tab_nom_de_compte_variable = p_tab_nom_de_compte_courant;  /* si on est sur l'opration vide -> on se barre */  if ( OPERATION_SELECTIONNEE == GINT_TO_POINTER ( -1 ) )    return;  if ( OPERATION_SELECTIONNEE -> pointe == 2 )    return;  if ( OPERATION_SELECTIONNEE -> pointe )    {      montant = calcule_montant_devise_renvoi ( OPERATION_SELECTIONNEE -> montant,						DEVISE,						OPERATION_SELECTIONNEE -> devise,						OPERATION_SELECTIONNEE -> une_devise_compte_egale_x_devise_ope,						OPERATION_SELECTIONNEE -> taux_change,						OPERATION_SELECTIONNEE -> frais_change );      if ( etat.equilibrage )	operations_pointees = operations_pointees - montant;      SOLDE_POINTE = SOLDE_POINTE - montant;      OPERATION_SELECTIONNEE -> pointe = 0;      gtk_clist_set_text ( GTK_CLIST ( CLIST_OPERATIONS ),			   gtk_clist_find_row_from_data ( GTK_CLIST ( CLIST_OPERATIONS ),							  OPERATION_SELECTIONNEE ),			   3,			   NULL );      modification_fichier( TRUE );    }  else    {      montant = calcule_montant_devise_renvoi ( OPERATION_SELECTIONNEE -> montant,						DEVISE,						OPERATION_SELECTIONNEE -> devise,						OPERATION_SELECTIONNEE -> une_devise_compte_egale_x_devise_ope,						OPERATION_SELECTIONNEE -> taux_change,						OPERATION_SELECTIONNEE -> frais_change );      if ( etat.equilibrage )	operations_pointees = operations_pointees + montant;      SOLDE_POINTE = SOLDE_POINTE + montant;      OPERATION_SELECTIONNEE -> pointe = 1;      gtk_clist_set_text ( GTK_CLIST ( CLIST_OPERATIONS ),			   gtk_clist_find_row_from_data ( GTK_CLIST ( CLIST_OPERATIONS ),							  OPERATION_SELECTIONNEE ),			   3,			   "P");      modification_fichier( TRUE );    }  if ( etat.equilibrage )    {      gtk_label_set_text ( GTK_LABEL ( label_equilibrage_pointe ),			   g_strdup_printf ("%4.2f",					    operations_pointees ));      if ( fabs ( solde_final - solde_initial - operations_pointees ) < 0.01 )	{	  gtk_label_set_text ( GTK_LABEL ( label_equilibrage_ecart ),			       g_strdup_printf ( "%4.2f",						 0.0 ));	  gtk_widget_set_sensitive ( GTK_WIDGET ( bouton_ok_equilibrage ),				     TRUE );	}      else	{	  gtk_label_set_text ( GTK_LABEL ( label_equilibrage_ecart ),			       g_strdup_printf ( "%4.2f",						 solde_final - solde_initial - operations_pointees ));	  gtk_widget_set_sensitive ( GTK_WIDGET ( bouton_ok_equilibrage ),				     FALSE );	}    }  /* met le label du solde point */  gtk_label_set_text ( GTK_LABEL ( solde_label_pointe ),		       g_strdup_printf ( PRESPACIFY(_("Solde point : %4.2f %s")),					 SOLDE_POINTE,					 devise_compte -> code_devise) );}