rem: gchar* filename =  g_strdup ( gtk_file_selection_get_filename ( GTK_FILE_SELECTION ( selection_fichier)) );
add: gchar* filename;
context: void file_selection_overwrite_file_check( GtkWidget *selection_fichier, gboolean* presult){ /* {{{ */    gchar* filename =  g_strdup ( gtk_file_selection_get_filename ( GTK_FILE_SELECTION ( selection_fichier)) );    struct stat test_file;        gboolean result = TRUE;    if (!strlen(filename))    {        result = FALSE;    }    else if (utf8_stat ( filename, &test_file ) != -1)    {        // The file already exists and is writeable, ask the user if she wants to overwrite it         if ( S_ISREG ( test_file.st_mode ) )	{            result = question_yes_no_hint (_("File already exists"),                                            g_strdup_printf (_("Do you want to overwrite file \"%s\"?"), filename));        }        else        {            dialogue_error ( g_strdup_printf ( _("Invalid filename: \"%s\"!"), filename ));            result = FALSE;        }            }    if (presult)    {        *presult = result;    }    else    {        gtk_dialog_response(GTK_DIALOG(GTK_FILE_SELECTION(selection_fichier)),                            (result) ? GTK_RESPONSE_OK : GTK_RESPONSE_NONE);    }} /* }}} file_selection_check_filename */