rem: creation_menu_exercices () );
add: creation_menu_exercices (0) );
context: GtkWidget *creation_formulaire_ventilation ( void ){  GtkWidget *onglet;  GtkTooltips *tips;  GtkWidget *table;  GtkWidget *menu;  GtkWidget *bouton;  /* on cre le tooltips */  tips = gtk_tooltips_new ();  /* cration du formulaire */  onglet = gtk_vbox_new ( FALSE,			  5 );  gtk_container_set_border_width ( GTK_CONTAINER ( onglet ),				   10);  gtk_widget_show ( onglet );  /* mise en place de la table */  table = gtk_table_new ( 2,			  4,			  FALSE);  gtk_table_set_col_spacings ( GTK_TABLE ( table ),			       10 );  gtk_box_pack_start ( GTK_BOX ( onglet ),		       table,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( table );  /* mise en place des catgories */  widget_formulaire_ventilation[0] = gtk_combofix_new_complex ( liste_categories_echeances_combofix,							    FALSE,							    TRUE,							    TRUE );  gtk_signal_connect ( GTK_OBJECT ( GTK_COMBOFIX ( widget_formulaire_ventilation[0] ) -> entry ), 		       "key_press_event",		       GTK_SIGNAL_FUNC ( appui_touche_ventilation ),		       NULL );  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[0]) -> entry), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation),		       NULL );  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[0]) -> arrow), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation),		       NULL );  gtk_signal_connect_object ( GTK_OBJECT ( GTK_COMBOFIX (widget_formulaire_ventilation[0]) -> entry ),			      "focus_in_event",			      GTK_SIGNAL_FUNC (entree_prend_focus),			      GTK_OBJECT ( widget_formulaire_ventilation[0] ) );  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[0]) -> entry),		       "focus_out_event",		       GTK_SIGNAL_FUNC (entree_ventilation_perd_focus),		       GINT_TO_POINTER (0) );  gtk_table_attach ( GTK_TABLE (table),		     widget_formulaire_ventilation[0],		     0, 1, 0,1,		     GTK_SHRINK | GTK_FILL,		     GTK_SHRINK | GTK_FILL,		     0,0);  gtk_widget_show ( widget_formulaire_ventilation[0] );  /* mise en place des notes */  widget_formulaire_ventilation[1] = gtk_entry_new ();  gtk_signal_connect ( GTK_OBJECT ( widget_formulaire_ventilation[1] ), 		       "key_press_event",		       GTK_SIGNAL_FUNC ( appui_touche_ventilation ),		       GINT_TO_POINTER ( 1 ) );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[1]), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation ),		       NULL );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[1]),		       "focus_in_event",		       GTK_SIGNAL_FUNC (entree_prend_focus),		       NULL );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[1]),		       "focus_out_event",		       GTK_SIGNAL_FUNC (entree_ventilation_perd_focus),		       GINT_TO_POINTER (1) );  gtk_table_attach ( GTK_TABLE (table),		     widget_formulaire_ventilation[1],		     1, 3, 0,1,		     GTK_SHRINK | GTK_FILL,		     GTK_SHRINK | GTK_FILL,		     0,0);  gtk_widget_show ( widget_formulaire_ventilation[1] );  /* mise en place du montant */  widget_formulaire_ventilation[2] = gtk_entry_new ();  gtk_signal_connect ( GTK_OBJECT ( widget_formulaire_ventilation[2] ), 		       "key_press_event",		       GTK_SIGNAL_FUNC ( appui_touche_ventilation ),		       GINT_TO_POINTER ( 2 ) );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[2]), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation ),		       NULL );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[2]),		       "focus_in_event",		       GTK_SIGNAL_FUNC (entree_prend_focus),		       NULL );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[2]),		       "focus_out_event",		       GTK_SIGNAL_FUNC (entree_ventilation_perd_focus),		       GINT_TO_POINTER (2) );  gtk_table_attach ( GTK_TABLE (table),		     widget_formulaire_ventilation[2],		     3, 4, 0,1,		     GTK_SHRINK | GTK_FILL,		     GTK_SHRINK | GTK_FILL,		     0,0);  gtk_widget_show ( widget_formulaire_ventilation[2] );  /*  Affiche l'imputation budgtaire */  widget_formulaire_ventilation[3] = gtk_combofix_new_complex ( liste_imputations_combofix,								FALSE,								TRUE,								TRUE );  gtk_table_attach ( GTK_TABLE (table),		     widget_formulaire_ventilation[3],		     0, 1, 1, 2,		     GTK_SHRINK | GTK_FILL,		     GTK_SHRINK | GTK_FILL,		     0,0);  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[3]) -> entry), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation),		       NULL );  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[3]) -> arrow), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation),		       NULL );  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[3]) -> entry), 		       "key_press_event",		       GTK_SIGNAL_FUNC (appui_touche_ventilation),		       GINT_TO_POINTER(3) );  gtk_signal_connect_object ( GTK_OBJECT ( GTK_COMBOFIX (widget_formulaire_ventilation[3]) -> entry ),			      "focus_in_event",			      GTK_SIGNAL_FUNC (entree_prend_focus),			      GTK_OBJECT ( widget_formulaire_ventilation[3] ) );  gtk_signal_connect ( GTK_OBJECT (GTK_COMBOFIX (widget_formulaire_ventilation[3]) -> entry),		       "focus_out_event",		       GTK_SIGNAL_FUNC (entree_ventilation_perd_focus),		       GINT_TO_POINTER (3) );  if ( etat.utilise_imputation_budgetaire )    gtk_widget_show (widget_formulaire_ventilation[3]);  /* mise en place du no d'exercice */  widget_formulaire_ventilation[4] = gtk_option_menu_new ();  gtk_tooltips_set_tip ( GTK_TOOLTIPS ( tips ),			 widget_formulaire_ventilation[4],			 _("Choix de l'exercice"),			 _("Choix de l'exercice") );  menu = gtk_menu_new ();  gtk_option_menu_set_menu ( GTK_OPTION_MENU ( widget_formulaire_ventilation[4] ),			     creation_menu_exercices () );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[4]), 		       "key_press_event",		       GTK_SIGNAL_FUNC ( appui_touche_ventilation ),		       GINT_TO_POINTER(4) );  gtk_table_attach ( GTK_TABLE ( table ),		     widget_formulaire_ventilation[4],		     1, 2, 1, 2,		     GTK_SHRINK | GTK_FILL,		     GTK_SHRINK | GTK_FILL,		     0,0);  if ( etat.utilise_exercice )    gtk_widget_show ( widget_formulaire_ventilation[4] );  /*   cration de l'entre du no de pice comptable */  widget_formulaire_ventilation[5] = gtk_entry_new();  gtk_table_attach ( GTK_TABLE (table),		     widget_formulaire_ventilation[5],		     2, 4, 1, 2,		     GTK_SHRINK | GTK_FILL,		     GTK_SHRINK | GTK_FILL,		     0,0);  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[5]), 		       "button_press_event",		       GTK_SIGNAL_FUNC (clique_champ_formulaire_ventilation ),		       NULL );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[5]), 		       "key_press_event",		       GTK_SIGNAL_FUNC (appui_touche_ventilation),		       GINT_TO_POINTER(5) );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[5]),		       "focus_in_event",		       GTK_SIGNAL_FUNC (entree_prend_focus),		       NULL );  gtk_signal_connect ( GTK_OBJECT (widget_formulaire_ventilation[5]),		       "focus_out_event",		       GTK_SIGNAL_FUNC (entree_ventilation_perd_focus),		       GINT_TO_POINTER (5) );  if ( etat.utilise_piece_comptable )    gtk_widget_show ( widget_formulaire_ventilation[5] );  /* sparation d'avec les boutons */  separateur_formulaire_ventilations = gtk_hseparator_new ();  gtk_box_pack_start ( GTK_BOX ( onglet ),		       separateur_formulaire_ventilations,		       FALSE,		       FALSE,		       0 );  if ( etat.affiche_boutons_valider_annuler )    gtk_widget_show ( separateur_formulaire_ventilations );  /* mise en place des boutons */  hbox_valider_annuler_ventil = gtk_hbox_new ( FALSE,					       5 );  gtk_box_pack_start ( GTK_BOX ( onglet ),		       hbox_valider_annuler_ventil,		       FALSE,		       FALSE,		       0 );  if ( etat.affiche_boutons_valider_annuler )    gtk_widget_show ( hbox_valider_annuler_ventil );  bouton = gnome_stock_button ( GNOME_STOCK_BUTTON_CANCEL );  gtk_button_set_relief ( GTK_BUTTON ( bouton ),			  GTK_RELIEF_NONE );  gtk_signal_connect ( GTK_OBJECT ( bouton ),		       "clicked",		       GTK_SIGNAL_FUNC ( echap_formulaire_ventilation ),		       NULL );  gtk_box_pack_end ( GTK_BOX ( hbox_valider_annuler_ventil ),		     bouton,		     FALSE,		     FALSE,		     0 );  gtk_widget_show ( bouton );  bouton = gnome_stock_button ( GNOME_STOCK_BUTTON_OK );  gtk_button_set_relief ( GTK_BUTTON ( bouton ),			  GTK_RELIEF_NONE );  gtk_signal_connect ( GTK_OBJECT ( bouton ),		       "clicked",		       GTK_SIGNAL_FUNC ( fin_edition_ventilation ),		       NULL );  gtk_box_pack_end ( GTK_BOX ( hbox_valider_annuler_ventil ),		     bouton,		     FALSE,		     FALSE,		     0 );  gtk_widget_show ( bouton );  /*   met l'adr de l'op dans le formulaire  -1 */  gtk_object_set_data ( GTK_OBJECT ( widget_formulaire_ventilation[0] ),			"adr_struct_ope",			GINT_TO_POINTER ( -1 ) );  return ( onglet );}