rem: gtk_box_pack_start ( paddingbox , list,
add: gtk_box_pack_start ( GTK_BOX(paddingbox) , list,
context: void ajout_devise ( GtkWidget *bouton,		    GtkWidget *widget ){  GtkWidget *dialog, *label, *hbox, *table;  GtkWidget *check_bouton, *entree_conversion_euro;  GtkWidget *label_nom_devise, *list, *paddingbox;  struct struct_devise *devise;  gchar *nom_devise, *code_devise, *code_iso4217_devise;  gint resultat;  dialog = gnome_dialog_new ( _("Add a currency"),				GNOME_STOCK_BUTTON_OK,				GNOME_STOCK_BUTTON_CANCEL,				NULL );  gtk_container_set_border_width ( GTK_WIDGET ( dialog ), 10 );  gtk_signal_connect ( GTK_OBJECT ( dialog ),		       "destroy",		       GTK_SIGNAL_FUNC ( gtk_signal_emit_stop_by_name ),		        "destroy" );  gtk_signal_connect ( GTK_OBJECT ( dialog ),		       "key-press-event",		       GTK_SIGNAL_FUNC ( bloque_echap_choix_devise ),		       NULL );  gtk_window_set_transient_for ( GTK_WINDOW ( dialog ),				 GTK_WINDOW ( window ));  gnome_dialog_set_default ( GNOME_DIALOG ( dialog ),			    0 );  paddingbox =     paddingbox_new_with_title (GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),			       _("ISO 4217 currencies"));  list = new_currency_list ();  gtk_box_pack_start ( paddingbox , list,		       FALSE, FALSE, 5 );  paddingbox =     paddingbox_new_with_title (GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),			       _("Currency details"));    /* Create table */  table = gtk_table_new ( 2, 2, FALSE );  gtk_table_set_col_spacings ( GTK_TABLE ( table ), 5 );  gtk_table_set_row_spacings ( GTK_TABLE ( table ), 5 );  gtk_box_pack_start ( GTK_BOX ( paddingbox ),		       table,		       TRUE, TRUE, 0 );  /* Currency name */  label = gtk_label_new (COLON(_("Currency name")));  gtk_misc_set_alignment (GTK_MISC (label), 0, 1);  gtk_label_set_justify ( label, GTK_JUSTIFY_RIGHT );  gtk_table_attach ( GTK_TABLE ( table ),		     label, 		     0, 1, 0, 1,		     GTK_SHRINK | GTK_FILL, 0,		     0, 0 );  entree_nom = gtk_entry_new ();  gnome_dialog_editable_enters ( GNOME_DIALOG ( dialog ),				 GTK_EDITABLE ( entree_nom ));  gtk_table_attach ( GTK_TABLE ( table ),		     entree_nom, 1, 2, 0, 1,		     GTK_EXPAND|GTK_FILL, 0,		     0, 0 );  /* Currency ISO code */  label = gtk_label_new (COLON(_("Currency ISO 4217 code")));  gtk_misc_set_alignment (GTK_MISC (label), 0, 1);  gtk_label_set_justify ( GTK_LABEL (label), GTK_JUSTIFY_LEFT );  gtk_table_attach ( GTK_TABLE ( table ),		     label, 		     0, 1, 1, 2,		     GTK_SHRINK | GTK_FILL, 0,		     0, 0 );  entree_iso_code = gtk_entry_new ();  gtk_table_attach ( GTK_TABLE ( table ),		     entree_iso_code, 1, 2, 1, 2,		     GTK_EXPAND|GTK_FILL, 0,		     0, 0 );  /* Currency usual sign */  label = gtk_label_new (COLON(_("Currency sign")));  gtk_misc_set_alignment (GTK_MISC (label), 0, 1);  gtk_label_set_justify ( GTK_LABEL (label), GTK_JUSTIFY_LEFT );  gtk_table_attach ( GTK_TABLE ( table ),		     label,		     0, 1, 2, 3,		     GTK_SHRINK | GTK_FILL, 0,		     0, 0 );  entree_code = gtk_entry_new ();  gtk_table_attach ( GTK_TABLE ( table ),		     entree_code, 1, 2, 2, 3,		     GTK_EXPAND|GTK_FILL, 0,		     0, 0 );  /* Swith to Euro */  paddingbox =     paddingbox_new_with_title (GTK_WIDGET ( GNOME_DIALOG ( dialog ) -> vbox ),			       _("Euro zone currency"));  check_bouton = gtk_check_button_new_with_label ( _("Will switch to Euro") );  gtk_box_pack_start ( GTK_BOX ( paddingbox ), check_bouton,		       TRUE, TRUE, 0 );  hbox = gtk_hbox_new ( FALSE, 5 );  gtk_box_pack_start ( GTK_BOX ( paddingbox ), hbox,		       TRUE, TRUE, 0 );  label = gtk_label_new ( POSTSPACIFY(_("One Euro equals")) );  gtk_misc_set_alignment (GTK_MISC (label), 0, 1);  gtk_label_set_justify ( GTK_LABEL (label), GTK_JUSTIFY_LEFT );  gtk_box_pack_start ( GTK_BOX ( hbox ), label,		       TRUE, TRUE, 0 );  entree_conversion_euro = gtk_entry_new ();  gnome_dialog_editable_enters ( GNOME_DIALOG ( dialog ),				 GTK_EDITABLE ( entree_conversion_euro ));  gtk_box_pack_start ( GTK_BOX ( hbox ), entree_conversion_euro,		       TRUE, TRUE, 0 );  /* Do not activate the "Switch to euro" stuff */  gtk_widget_set_sensitive (entree_conversion_euro, FALSE );  gtk_widget_set_sensitive (label, FALSE );  gtk_signal_connect ( GTK_OBJECT ( check_bouton ),		       "toggled",		       GTK_SIGNAL_FUNC ( passe_a_l_euro ),		       entree_conversion_euro);  gtk_signal_connect ( GTK_OBJECT ( check_bouton ),		       "toggled",		       GTK_SIGNAL_FUNC ( passe_a_l_euro ),		       label);  /* Currency name.  This label will be labeled after the entree_nom     widget. */  label_nom_devise = gtk_label_new ( _("...") );  gtk_box_pack_start ( GTK_BOX ( hbox ), label_nom_devise,		       FALSE, FALSE, 5 );  gtk_signal_connect ( GTK_OBJECT ( entree_nom ),		       "changed",		       GTK_SIGNAL_FUNC ( nom_nouvelle_devise_defini ),		       label_nom_devise );  gtk_widget_grab_focus ( entree_nom );  gtk_editable_set_position ( GTK_EDITABLE ( entree_nom ),			   0 ); reprise_dialog:  gtk_widget_show_all ( GTK_WIDGET ( dialog ) );  resultat = gnome_dialog_run ( GNOME_DIALOG ( dialog ));  switch ( resultat )    {    case 0 :      nom_devise = g_strstrip ( g_strdup ( (gchar *) gtk_entry_get_text ( GTK_ENTRY ( entree_nom ))));      code_devise = g_strstrip ( g_strdup ( (gchar *) gtk_entry_get_text ( GTK_ENTRY ( entree_code ))));      code_iso4217_devise = g_strstrip ( g_strdup ( (gchar *) gtk_entry_get_text ( GTK_ENTRY ( entree_iso_code ))));       if ( strlen ( nom_devise ) && 	   (strlen ( code_devise ) ||	    strlen ( code_iso4217_devise )))	{	  GtkWidget *menu;	  GtkWidget *item;	  devise = malloc ( sizeof ( struct struct_devise ));	  devise -> nom_devise = nom_devise;	  devise -> code_devise = code_devise;	  devise -> code_iso4217_devise = code_iso4217_devise;	  devise -> passage_euro = gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON ( check_bouton ));	  devise -> no_devise_en_rapport = 0;	  devise -> date_dernier_change = NULL;	  devise -> une_devise_1_egale_x_devise_2 = 0;	  if ( devise -> passage_euro )	    devise -> change = g_strtod ( g_strstrip ( (gchar *) gtk_entry_get_text ( GTK_ENTRY ( entree_conversion_euro ))),					  NULL );	  else	    devise -> change = 0;	  /* 	  si le widget est une clist, c'est que l'appel vient du menu de configuration, */	  /* on met la liste à jour et on ajoute la devise à liste_struct_devises_tmp */	  /* 	    sinon, c'est que c'est le chargement de la version 0.2.5, on met l'option menu et liste_struct_devises à jour */	  /* à retirer à partir de la 0.2.7 */	  if ( GTK_IS_CLIST ( widget ))	    {	      gchar *ligne[3];	      gint ligne_liste;	      devise -> no_devise = ++no_derniere_devise_tmp;	      liste_struct_devises_tmp = g_slist_append ( liste_struct_devises_tmp,							  devise );	      nb_devises_tmp++;	      ligne[0] = devise -> nom_devise;	      ligne[1] = devise -> code_iso4217_devise;	      ligne[2] = devise -> code_devise;	      	      ligne_liste = gtk_clist_append ( GTK_CLIST ( widget ),					       ligne );	      gtk_clist_set_row_data  ( GTK_CLIST ( widget ),					ligne_liste,					devise );	      gtk_clist_select_row ( GTK_CLIST ( widget ),				     ligne_liste, 0 );	      gtk_clist_sort ( GTK_CLIST ( widget ) ); 	      /* dégrise appliquer dans paramètres */	      activer_bouton_appliquer ( );	    }	  else	    {	      devise -> no_devise = ++no_derniere_devise;	      liste_struct_devises = g_slist_append ( liste_struct_devises,						      devise );	      nb_devises++;	      menu = gtk_option_menu_get_menu ( GTK_OPTION_MENU ( widget ));	      	      item = gtk_menu_item_new_with_label ( g_strconcat ( devise -> nom_devise,								  " ( ",								  devise_name ( devise ),								  " )",								  NULL ));	      gtk_object_set_data ( GTK_OBJECT ( item ),				    "adr_devise",				    devise );	      gtk_object_set_data ( GTK_OBJECT ( item ),				    "no_devise",				    GINT_TO_POINTER ( devise -> no_devise ) );	      gtk_menu_append ( GTK_MENU ( menu ),				item );	      gtk_option_menu_set_menu ( GTK_OPTION_MENU ( widget ),					 menu );	      gtk_widget_show (item );	    }	  modification_fichier ( TRUE );	}      else	{	  dialogue ( _("All fields are not filled in!") );	  goto reprise_dialog;	}      break;    }  gnome_dialog_close ( GNOME_DIALOG ( dialog ));}