rem: if ( resultat != GTK_RESPONSE_OK || ! file_selection_check_filename ( fenetre_nom, NULL ) )
add: if ( resultat != GTK_RESPONSE_OK  )
context: void importer_categ ( void ){    GtkWidget *dialog, *fenetre_nom;    gint resultat;    gchar *nom_categ;    fenetre_nom = file_selection_new ( _("Import a category list"),				       FILE_SELECTION_IS_OPEN_DIALOG | FILE_SELECTION_MUST_EXISTS);    file_selection_set_filename ( GTK_FILE_SELECTION ( fenetre_nom ), dernier_chemin_de_travail );    file_selection_set_entry ( GTK_FILE_SELECTION ( fenetre_nom ), ".cgsb" );    resultat = gtk_dialog_run ( GTK_DIALOG ( fenetre_nom ));    if ( resultat != GTK_RESPONSE_OK ||	 ! file_selection_check_filename ( fenetre_nom, NULL ) )    {	gtk_widget_destroy ( fenetre_nom );	return;    }    nom_categ = file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom ));    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));    /* on permet de remplacer/fusionner la liste */    dialog = dialogue_special_no_run ( GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,				       make_hint ( _("Merge category list with existing?"),						   ( no_derniere_operation ?						     _("Imported category list will be merged with existing.  There is no undo for this.") :						     _("Imported category list can either be merged with existing or replace it.  Once performed, there is no undo for this.") ) ) );    if ( !no_derniere_operation )      gtk_dialog_add_buttons ( GTK_DIALOG(dialog),			       _("Replace existing"), 0,			       NULL );    gtk_dialog_add_buttons ( GTK_DIALOG(dialog),			     GTK_STOCK_CANCEL, 1,			     _("Merge categories"), 2,			     NULL );    resultat = gtk_dialog_run ( GTK_DIALOG ( dialog ));    switch ( resultat )    {	case 0 :	    /* si on a choisi de remplacer l'ancienne liste, on la vire ici */	    if ( !no_derniere_operation )	    {		g_slist_free ( liste_struct_categories );		liste_struct_categories = NULL;		no_derniere_categorie = 0;		nb_enregistrements_categories = 0;	    }        case 2 :	    if ( !charge_categ ( nom_categ ))	    {		gtk_widget_destroy ( GTK_WIDGET ( dialog ));		return;	    }	    gtk_widget_destroy ( GTK_WIDGET ( dialog ));	    break;	default :	    gtk_widget_destroy ( GTK_WIDGET ( dialog ));	    return;    }}