rem: struct stat test_fichier;
context: void exporter_etat ( void ){    GtkWidget *fenetre_nom;    gint resultat;    struct stat test_fichier;    gchar *nom_etat;    if ( gtk_notebook_get_current_page ( GTK_NOTEBOOK ( notebook_general)) != 7 )	gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general),				7 );    fenetre_nom = file_selection_new (_("Export report"),FILE_SELECTION_IS_SAVE_DIALOG );    file_selection_set_filename ( GTK_FILE_SELECTION ( fenetre_nom ),				      dernier_chemin_de_travail );    file_selection_set_entry (  GTK_FILE_SELECTION ( fenetre_nom ),			 g_strconcat ( etat_courant -> nom_etat,				       ".egsb",				       NULL ));    resultat = gtk_dialog_run ( GTK_DIALOG ( fenetre_nom ));    switch ( resultat )    {	case GTK_RESPONSE_OK :	    nom_etat = file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom ));	    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));	    /* la vérification que c'est possible a t faite par la boite de selection*/	    if ( !enregistre_etat ( nom_etat ))	    {		return;	    }	    break;	default :	    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));	    return;    }}