rem: G_CALLBACK ( import_account_action_activated ), 2 );
add: G_CALLBACK ( import_account_action_activated ), GINT_TO_POINTER (2));
context: GtkWidget * cree_ligne_recapitulatif ( struct struct_compte_importation * compte ){    GtkWidget * vbox, * hbox, * label, * menu, * menu_item, * radio, * radiogroup;    GtkWidget * alignement;    gchar * short_filename;    gint no_compte_trouve, size = 0, spacing = 0;    vbox = gtk_vbox_new ( FALSE, 6 );    gtk_container_set_border_width ( GTK_CONTAINER(vbox), 12 );    if ( compte -> filename )    {	short_filename = g_strrstr ( compte -> filename, C_DIRECTORY_SEPARATOR );	if ( ! short_filename )	{	    short_filename = compte -> filename;	}	else 	{	    short_filename ++;	}    }    else    {	short_filename = _("file");    }    label = gtk_label_new ( "" );    gtk_misc_set_alignment ( GTK_MISC ( label ), 0, 0.5);    gtk_label_set_justify ( GTK_LABEL ( label ), GTK_JUSTIFY_LEFT );    gtk_label_set_markup ( GTK_LABEL ( label ),			   g_strdup_printf ( _("<span size=\"x-large\">%s</span>\n\n"					       "What do you want to do with contents from <tt>%s</tt>?\n"),					     compte -> nom_de_compte, short_filename ) );    gtk_box_pack_start ( GTK_BOX ( vbox ), label, FALSE, FALSE, 0 );    /* New account */    radio = gtk_radio_button_new_with_label ( NULL, _("Create a new account") );    radiogroup = radio;    gtk_box_pack_start ( GTK_BOX ( vbox ), radio, FALSE, FALSE, 0 );    gtk_widget_style_get (radio, "indicator_size", &size, NULL);    gtk_widget_style_get (radio, "indicator_spacing", &spacing, NULL);    compte -> hbox1 = gtk_hbox_new ( FALSE, 6 );    gtk_box_pack_start ( GTK_BOX ( vbox ), compte -> hbox1, FALSE, FALSE, 0 );    label = gtk_label_new ( _("Account type:") );    alignement = gtk_alignment_new ( 0.5, 0.5, 1, 1 );    gtk_container_set_border_width ( GTK_CONTAINER ( alignement ), 2 );    gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignement ), 0, 0, 2 * spacing + size, 0 );    gtk_container_add ( GTK_CONTAINER ( alignement ), label );    gtk_box_pack_start ( GTK_BOX ( compte -> hbox1 ), alignement, FALSE, FALSE, 0 );    compte -> bouton_type_compte = gtk_option_menu_new ();    gtk_option_menu_set_menu ( GTK_OPTION_MENU ( compte -> bouton_type_compte ), 			       creation_menu_type_compte () );    gtk_box_pack_start ( GTK_BOX ( compte -> hbox1 ), compte -> bouton_type_compte, 			 TRUE, TRUE, 0 );    g_object_set_data ( G_OBJECT ( radio ), "associated", compte -> hbox1 );    g_object_set_data ( G_OBJECT ( radio ), "account", compte );    g_signal_connect ( G_OBJECT ( radio ), "toggled", 		       G_CALLBACK ( import_account_action_activated ), 0 );    /* Add to account */    radio = gtk_radio_button_new_with_label_from_widget ( GTK_RADIO_BUTTON ( radiogroup ), 							  _("Add transactions to an account") );    gtk_box_pack_start ( GTK_BOX ( vbox ), radio, FALSE, FALSE, 0 );    compte -> hbox2 = gtk_hbox_new ( FALSE, 6 );    gtk_box_pack_start ( GTK_BOX ( vbox ), compte -> hbox2, FALSE, FALSE, 0 );    label = gtk_label_new ( _("Account name:") );    alignement = gtk_alignment_new ( 0.5, 0.5, 1, 1 );    gtk_container_set_border_width ( GTK_CONTAINER ( alignement ), 2 );    gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignement ), 0, 0, 2 * spacing + size, 0 );    gtk_container_add ( GTK_CONTAINER ( alignement ), label );    gtk_box_pack_start ( GTK_BOX ( compte -> hbox2 ), alignement, FALSE, FALSE, 0 );    compte -> bouton_compte_add = gtk_option_menu_new ();    gtk_option_menu_set_menu ( GTK_OPTION_MENU ( compte -> bouton_compte_add ), 			       creation_option_menu_comptes ( NULL, TRUE, FALSE ) );    gtk_box_pack_start ( GTK_BOX ( compte -> hbox2 ), compte -> bouton_compte_add, TRUE, TRUE, 0 );    gtk_widget_set_sensitive ( compte -> hbox2, FALSE );    g_object_set_data ( G_OBJECT ( radio ), "associated", compte -> hbox2 );    g_object_set_data ( G_OBJECT ( radio ), "account", compte );    g_signal_connect ( G_OBJECT ( radio ), "toggled", 		       G_CALLBACK ( import_account_action_activated ), 1 );    /* Mark account */    radio = gtk_radio_button_new_with_label_from_widget ( GTK_RADIO_BUTTON ( radiogroup ), 							  _("Mark transactions of an account") );    gtk_box_pack_start ( GTK_BOX ( vbox ), radio, FALSE, FALSE, 0 );    compte -> hbox3 = gtk_hbox_new ( FALSE, 6 );    gtk_box_pack_start ( GTK_BOX ( vbox ), compte -> hbox3, FALSE, FALSE, 0 );    label = gtk_label_new ( _("Account name:") );    alignement = gtk_alignment_new ( 0.5, 0.5, 1, 1 );    gtk_container_set_border_width ( GTK_CONTAINER ( alignement ), 2 );    gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignement ), 0, 0, 2 * spacing + size, 0 );    gtk_container_add ( GTK_CONTAINER ( alignement ), label );    gtk_box_pack_start ( GTK_BOX ( compte -> hbox3 ), alignement, FALSE, FALSE, 0 );    compte -> bouton_compte_mark = gtk_option_menu_new ();    gtk_option_menu_set_menu ( GTK_OPTION_MENU ( compte -> bouton_compte_mark ), 			       creation_option_menu_comptes ( NULL, TRUE, FALSE ) );    gtk_box_pack_start ( GTK_BOX ( compte -> hbox3 ), compte -> bouton_compte_mark, TRUE, TRUE, 0 );    gtk_widget_set_sensitive ( compte -> hbox3, FALSE );    g_object_set_data ( G_OBJECT ( radio ), "associated", compte -> hbox3 );    g_object_set_data ( G_OBJECT ( radio ), "account", compte );    g_signal_connect ( G_OBJECT ( radio ), "toggled", 		       G_CALLBACK ( import_account_action_activated ), 2 );    /* Currency */    hbox = gtk_hbox_new ( FALSE, 6 );    label = gtk_label_new ( _("Account currency:") );    gtk_box_pack_start ( GTK_BOX ( hbox ), label, FALSE, FALSE, 0 );    gtk_box_pack_start ( GTK_BOX ( vbox ), hbox, FALSE, FALSE, 0 );    compte -> bouton_devise = gtk_option_menu_new ();    gtk_option_menu_set_menu ( GTK_OPTION_MENU ( compte -> bouton_devise ),			       creation_option_menu_devises ( 0, liste_struct_devises ));    if ( compte -> devise )    {	struct struct_devise *devise;	/* First, we search currency from ISO4217 code for existing currencies */	devise = devise_par_code_iso ( compte -> devise );	/* Then, by nickname for existing currencies */	if ( ! devise )	  devise = devise_par_nom ( compte -> devise );	if ( devise )	    gtk_option_menu_set_history ( GTK_OPTION_MENU ( compte -> bouton_devise ),					  g_slist_index ( liste_struct_devises,							  devise ));	else	{	    /* 	    la devise avait un nom mais n'a pas été retrouvée; 2 possibilités : */	    /* 		- soit elle n'est pas crÃ©é (l'utilisateur			  la créera une fois la fenetre affichée) */	    /* 		- soit elle est créé mais pas avec le bon code */	    dialogue_warning_hint ( g_strdup_printf ( _( "Currency of imported account '%s' is %s.  Either this currency doesn't exist so you have to create it in next window, or this currency already exists but the ISO code is wrong.\nTo avoid this message, please set its ISO code in configuration."),						      compte -> nom_de_compte,						      compte -> devise ),				    g_strdup_printf ( _("Can't associate ISO 4217 code for currency '%s'."),  compte -> devise ));	}    }    gtk_box_pack_start ( GTK_BOX ( hbox ), compte -> bouton_devise, FALSE, FALSE, 0 );    return vbox;}