rem: nom_categ =g_strdup (gtk_file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom )));
add: nom_categ =file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom ));
context: void exporter_categ ( void ){    GtkWidget *fenetre_nom;    gint resultat;    struct stat test_fichier;    gchar *nom_categ;    fenetre_nom = gtk_file_selection_new ( _("Export categories"));    gtk_file_selection_set_filename ( GTK_FILE_SELECTION ( fenetre_nom ),				      dernier_chemin_de_travail );    gtk_entry_set_text ( GTK_ENTRY ( GTK_FILE_SELECTION ( fenetre_nom )->selection_entry),			 ".cgsb" );    resultat = gtk_dialog_run ( GTK_DIALOG ( fenetre_nom ));    switch ( resultat )    {	case GTK_RESPONSE_OK :	    nom_categ =g_strdup (gtk_file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom )));	    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));	    /* vérification que c'est possible */	    if ( !strlen ( nom_categ ))		return;	    if ( stat ( nom_categ,			&test_fichier ) != -1 )	    {		if ( S_ISREG ( test_fichier.st_mode ) )		{		    if ( !question_yes_no_hint ( _("Save file"),						 _("File exists. Do you want to overwrite it?")))			return;		}		else		{		    dialogue ( g_strdup_printf ( _("Invalid filename \"%s\"!"),						 nom_categ));		    return;		}	    }	    if ( !enregistre_categ ( nom_categ ))	    {		dialogue ( _("Error saving file.") );		return;	    }	    break;	default :	    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));	    return;    }}